diff options
author | Bert Vermeulen <bert@biot.com> | 2013-11-18 10:55:02 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-11-18 10:55:02 +0100 |
commit | eaad935fbaa3c301aded9c64dfe514cc4ca40968 (patch) | |
tree | 167e762e431b7f7afb41316a394c76374f1e5f20 | |
parent | 092f1437d385585ebf12c6a060e753ba812d1700 (diff) | |
download | libsigrokdecode-eaad935fbaa3c301aded9c64dfe514cc4ca40968.tar.gz libsigrokdecode-eaad935fbaa3c301aded9c64dfe514cc4ca40968.zip |
Remove unreasonable test
-rw-r--r-- | tests/check_decoder.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/check_decoder.c b/tests/check_decoder.c index 8b63715..e846585 100644 --- a/tests/check_decoder.c +++ b/tests/check_decoder.c @@ -312,24 +312,6 @@ START_TEST(test_doc_get_null) } END_TEST -/* - * Check whether srd_decoder_doc_get() fails with an "empty" argument. - * If it returns a value != NULL (or segfaults) this test will fail. - * See also: http://sigrok.org/bugzilla/show_bug.cgi?id=180 - */ -START_TEST(test_doc_get_empty) -{ - struct srd_decoder dec; - - srd_init(NULL); - - memset(&dec, 0, sizeof(struct srd_decoder)); - fail_unless(srd_decoder_doc_get(&dec) == NULL); - - srd_exit(); -} -END_TEST - Suite *suite_decoder(void) { Suite *s; @@ -366,7 +348,6 @@ Suite *suite_decoder(void) tc = tcase_create("doc_get"); tcase_add_test(tc, test_doc_get); tcase_add_test(tc, test_doc_get_null); - tcase_add_test(tc, test_doc_get_empty); suite_add_tcase(s, tc); return s; |