]> sigrok.org Git - libsigrok.git/commitdiff
Fix a bug causing one of the unit tests not being run.
authorUwe Hermann <redacted>
Sat, 22 Nov 2014 20:07:48 +0000 (21:07 +0100)
committerUwe Hermann <redacted>
Sat, 22 Nov 2014 20:07:48 +0000 (21:07 +0100)
tests/check_device.c

index 7b955c7272165b2609809885f6ff05e93513af4f..d9594451373c0cd137f5b0ce9b3d3c7bd289a533 100644 (file)
@@ -70,10 +70,10 @@ Suite *suite_device(void)
 
        tc = tcase_create("sr_dev_inst_user_new");
        tcase_add_test(tc, test_user_new);
+       suite_add_tcase(s, tc);
 
        tc = tcase_create("sr_dev_inst_channel_add");
        tcase_add_test(tc, test_channel_add);
-
        suite_add_tcase(s, tc);
 
        return s;