]> sigrok.org Git - libsigrok.git/commitdiff
unit tests: Disable timeout for one of the test cases.
authorUwe Hermann <redacted>
Sun, 23 Nov 2014 12:10:32 +0000 (13:10 +0100)
committerUwe Hermann <redacted>
Sun, 23 Nov 2014 12:10:32 +0000 (13:10 +0100)
This one can take a while, thus disable the timeout.

tests/check_trigger.c

index f25c81adfe97a40878b91fc1b5201558b049033e..bf177602b8c0551d686ef30b40e7d70c51241dfb 100644 (file)
@@ -270,6 +270,7 @@ Suite *suite_trigger(void)
        suite_add_tcase(s, tc);
 
        tc = tcase_create("match");
+       tcase_set_timeout(tc, 0);
        tcase_add_checked_fixture(tc, srtest_setup, srtest_teardown);
        tcase_add_test(tc, test_trigger_match_add);
        tcase_add_test(tc, test_trigger_match_add_bogus);