Fixed test scripts being deleted on make clean
This commit is contained in:
parent
a6b13abb81
commit
b81d71855f
1 changed files with 12 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
TESTS = \
|
||||
BIN_TESTS = \
|
||||
signal \
|
||||
report \
|
||||
suites \
|
||||
|
@ -6,18 +6,20 @@ TESTS = \
|
|||
asserts \
|
||||
simple
|
||||
|
||||
TESTS += tests/tap_test.sh \
|
||||
tests/early_exit.sh \
|
||||
tests/verbose.sh \
|
||||
tests/help.sh
|
||||
TESTS_ENVIRONMENT = CRITERION_ALWAYS_SUCCEED=1
|
||||
|
||||
check_PROGRAMS := $(BIN_TESTS)
|
||||
CFLAGS = -I$(top_srcdir)/include/ -std=c99
|
||||
LDADD = -L$(top_srcdir)/ -lcriterion
|
||||
|
||||
SCRIPT_TESTS = tests/tap_test.sh \
|
||||
tests/early_exit.sh \
|
||||
tests/verbose.sh \
|
||||
tests/help.sh
|
||||
|
||||
tests/tap_test.sh: simple signal asserts
|
||||
tests/early_exit.sh: simple
|
||||
tests/verbose.sh: simple
|
||||
tests/help.sh: simple
|
||||
|
||||
TESTS_ENVIRONMENT = CRITERION_ALWAYS_SUCCEED=1
|
||||
|
||||
check_PROGRAMS = $(TESTS)
|
||||
CFLAGS = -I$(top_srcdir)/include/ -std=c99
|
||||
LDADD = -L$(top_srcdir)/ -lcriterion
|
||||
TESTS = $(BIN_TESTS) $(SCRIPT_TESTS)
|
||||
|
|
Loading…
Add table
Reference in a new issue