summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Hommel <wolfcw@users.noreply.github.com>2022-04-16 21:17:41 +0200
committerGitHub <noreply@github.com>2022-04-16 21:17:41 +0200
commit642b6ee870757ca06b221c01f2403f06cc3a6e93 (patch)
tree646ad14c185672330854c2f6a1f26f33c93207df
parent8fa0530d83f2a1f5eb23ed5d6a177e35457dedf6 (diff)
parent7e86fb54192b6c90941e7eedfda950fa0a59e533 (diff)
downloadlibfaketime-642b6ee870757ca06b221c01f2403f06cc3a6e93.tar.gz
Merge pull request #387 from dkg/clean-syscall-tests
clean up tests related to syscall
-rw-r--r--test/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 1b2a4aa..bc6f400 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -7,12 +7,15 @@ SRC = timetest.c
OBJ = ${SRC:.c=.o}
TEST_SNIPPETS = $(notdir $(basename $(wildcard snippets/*.c)))
-EXPECTATIONS= $(notdir $(basename $(wildcard snippets/*.variable)))
+EXPECTATIONS = $(notdir $(basename $(wildcard snippets/*.variable)))
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)