diff --git a/tests/Makefile.am b/tests/Makefile.am index 17958fd..b1bd2ad 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,15 +1,9 @@ AUTOMAKE_OPTIONS = 1.10 foreign subdir-objects TESTS = \ - check_ezstream \ check_cfg check_PROGRAMS = $(TESTS) -check_ezstream_SOURCES = \ - check_ezstream.c -check_ezstream_DEPENDENCIES = $(top_builddir)/src/libezstream.la -check_ezstream_LDADD = $(check_ezstream_DEPENDENCIES) @CHECK_LIBS@ - check_cfg_SOURCES = \ check_cfg.c check_cfg_DEPENDENCIES = $(top_builddir)/src/libezstream.la diff --git a/tests/check_ezstream.c b/tests/check_ezstream.c deleted file mode 100644 index 9fdfd44..0000000 --- a/tests/check_ezstream.c +++ /dev/null @@ -1,46 +0,0 @@ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif /* HAVE_CONFIG_H */ - -#include "compat.h" - -#include - -START_TEST(test_ezstream) -{ -} -END_TEST - -Suite * -ezstream_suite(void) -{ - Suite *s; - TCase *tc_core; - - s = suite_create("Ezstream"); - - tc_core = tcase_create("Core"); - tcase_add_test(tc_core, test_ezstream); - suite_add_tcase(s, tc_core); - - return (s); -} - -int -main(void) -{ - unsigned int num_failed; - Suite *s; - SRunner *sr; - - s = ezstream_suite(); - sr = srunner_create(s); - - srunner_run_all(sr, CK_NORMAL); - num_failed = srunner_ntests_failed(sr); - srunner_free(sr); - - if (num_failed) - return (1); - return (0); -}