mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
tests: avoid testing syscall snippets if -DINTERCEPT_SYSCALL is not set
See https://bugs.debian.org/1007828
This commit is contained in:
@@ -13,6 +13,9 @@ ALL_TESTS = timetest test
|
||||
|
||||
ifneq ($(filter -DINTERCEPT_SYSCALL,${CFLAGS}),)
|
||||
ALL_TESTS += confirm_variadic_promotion
|
||||
else
|
||||
TEST_SNIPPETS := $(filter-out syscall%,${TEST_SNIPPETS})
|
||||
EXPECTATIONS := $(filter-out syscall%,${EXPECTATIONS})
|
||||
endif
|
||||
|
||||
all: $(ALL_TESTS)
|
||||
|
||||
Reference in New Issue
Block a user