HomePhabricator

tests: Replace tests filtering with cmocka builtin filter

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Wed, Nov 21, 1:59 PM.

Description

tests: Replace tests filtering with cmocka builtin filter

This completely removes the tests filter code from torture.c and calls
cmocka_set_test_filter() instead, if available. The checks for required
libraries, headers, and the availability of cmocka_set_test_filter()
were added to the cmake configuration.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnWed, Nov 28, 3:51 PM
Parents
rLIBSSH74285d3aca3f: tests: Define flags not present in Windows
Branches
Unknown
Tags
Unknown