2 noinst_PROGRAMS=$(TEST_PROGS)
5 TEST_OPTS=-k -m=thorough --verbose #--g-fatal-warnings
8 -I$(top_srcdir)/tests/lib\
9 $(libquvi_CFLAGS) $(libcurl_CFLAGS) $(glib_CFLAGS)\
16 $(top_builddir)/tests/lib/libconvenience_test.la\
17 $(libquvi_LIBS) $(libcurl_LIBS) $(glib_LIBS)
19 include $(top_srcdir)/tests/playlist/tests.mk
20 include $(top_srcdir)/tests/subtitle/tests.mk
21 include $(top_srcdir)/tests/media/tests.mk
22 include $(top_srcdir)/tests/scan/tests.mk
25 @ok=1; for t in $(TEST_PROGS); do \
26 LIBQUVI_SCRIPTS_DIR=$(top_srcdir)/share/ \
27 gtester $(TEST_OPTS) $(top_builddir)/tests/$$t -o $$t.xml \
29 echo NOTE: Check $(abs_builddir)/$$t.xml for details; \
30 ok=; gtester-report $$t.xml >$$t.html; \
33 if test -z "$$ok"; then exit 1; fi
36 @for t in $(TEST_PROGS); do rm -f $$t.xml $$t.html; done
38 EXTRA_DIST=find_tests.sh run_tests.sh