2
# The following need to be declared before this file is included:
3
# UNIT_AUTO A list of C files with tests
4
# UNIT_PROMPT A list of C files with prompting tests
5
# UNIT_LIBS Libraries to link the tests to
7
# ------------------------------------------------------------------------------
28
run-auto-test.h: $(UNIT_AUTO) Makefile.am $(top_srcdir)/tests/prep-gtest.sh
29
sh $(top_srcdir)/tests/prep-gtest.sh -b run-auto-test $(UNIT_AUTO)
31
run-auto-test.c: run-auto-test.h
33
run_auto_test_SOURCES = \
34
run-auto-test.c run-auto-test.h \
37
run_auto_test_LDADD = \
41
run_auto_test_CFLAGS = \
44
run-prompt-test.h: $(UNIT_PROMPT) Makefile.am $(top_srcdir)/tests/prep-gtest.sh
45
sh $(top_srcdir)/tests/prep-gtest.sh -b run-prompt-test $(UNIT_PROMPT)
47
run-prompt-test.c: run-prompt-test.h
49
run_prompt_test_SOURCES = \
54
run_prompt_test_LDADD = \
58
run_prompt_test_CFLAGS = \
67
# ------------------------------------------------------------------------------
70
test-auto: $(noinst_PROGRAMS)
71
gtester --verbose -k -m=slow ./run-auto-test
73
test-prompt: $(noinst_PROGRAMS)
74
gtester --verbose -k -m=slow ./run-prompt-test
76
check-am: $(noinst_PROGRAMS)
77
TEST_DATA=$(srcdir)/test-data gtester -m=slow ./run-auto-test