mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -05:00
Remove check_ezstream dummy; it doesn't do anything useful, yet
... and ezstream.c is probably the most untestable file right now anyways.
This commit is contained in:
parent
dd2f32665a
commit
e2139e9195
@ -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
|
||||
|
@ -1,46 +0,0 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
#include <check.h>
|
||||
|
||||
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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user