From: Uwe Hermann Date: Sat, 22 Nov 2014 20:07:48 +0000 (+0100) Subject: Fix a bug causing one of the unit tests not being run. X-Git-Tag: libsigrok-0.4.0~722 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=47af616fd787179bd10e29147dbabd28d09aea8c;p=libsigrok.git Fix a bug causing one of the unit tests not being run. --- diff --git a/tests/check_device.c b/tests/check_device.c index 7b955c72..d9594451 100644 --- a/tests/check_device.c +++ b/tests/check_device.c @@ -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;