diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2021-03-05 21:41:48 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2021-03-05 22:48:47 -0500 |
commit | 6733dc3a8d8c322f422e2570a47663a22385e25a (patch) | |
tree | 34e6f8927810de8ff521b6585c56dd44abeb33ef /test | |
parent | 008d33fdf221211fa6b7ef9fe987c7e241648509 (diff) | |
download | libfaketime-6733dc3a8d8c322f422e2570a47663a22385e25a.tar.gz |
tests: Confirm variadic argument promotion assumptions when INTERCEPT_SYSCALL
The test suite should not succeed if INTERCEPT_SYSCALL is defined but
the variadic argument promotion test fails.
OTOH, if we're not asking for INTERCEPT_SYSCALL, we don't care about
the results of that test.
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile index 69eb6ad..1b2a4aa 100644 --- a/test/Makefile +++ b/test/Makefile @@ -11,6 +11,10 @@ EXPECTATIONS= $(notdir $(basename $(wildcard snippets/*.variable))) ALL_TESTS = timetest test +ifneq ($(filter -DINTERCEPT_SYSCALL,${CFLAGS}),) +ALL_TESTS += confirm_variadic_promotion +endif + all: $(ALL_TESTS) .c.o: |