2
# The following need to be declared before this file is included:
3
# TEST_AUTO A list of C files with tests
4
# TEST_LIBS Libraries to link the tests to
5
# TEST_FLAGS Flags for the tests
7
# ------------------------------------------------------------------------------
22
run-auto-test.h: $(TEST_AUTO) Makefile.am $(top_srcdir)/tests/prep-gtest.sh
23
sh $(top_srcdir)/tests/prep-gtest.sh -b run-auto-test $(TEST_AUTO)
25
run-auto-test.c: run-auto-test.h
27
run_auto_test_SOURCES = \
28
run-auto-test.c run-auto-test.h \
31
run_auto_test_LDADD = \
35
run_auto_test_CFLAGS = \
42
# ------------------------------------------------------------------------------
45
test-auto: $(noinst_PROGRAMS)
46
gtester --verbose -k -m=slow ./run-auto-test
48
check-am: $(noinst_PROGRAMS)
49
TEST_DATA=$(srcdir)/test-data gtester -m=slow ./run-auto-test