summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2021-03-05 02:44:46 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2021-03-05 21:45:23 -0500
commite70b143733056b9c40c6a627a026e77fa8a1df0a (patch)
treee0ff230499d845ae821568e2ae55df2b5d96819a /test
parente1073c8733c4fdf1a182fc6a658a18d211965fbb (diff)
downloadlibfaketime-e70b143733056b9c40c6a627a026e77fa8a1df0a.tar.gz
Prepare to add new tests depending on the definitions
We want to be able to conditionally add tests. This sets up to be able to do that cleanly.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 1c4208d..e3e94ca 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -9,7 +9,9 @@ OBJ = ${SRC:.c=.o}
TEST_SNIPPETS = $(notdir $(basename $(wildcard snippets/*.c)))
EXPECTATIONS= $(notdir $(basename $(wildcard snippets/*.variable)))
-all: timetest test
+ALL_TESTS = timetest test
+
+all: $(ALL_TESTS)
.c.o:
${CC} -c ${CFLAGS} $<