From 7e86fb54192b6c90941e7eedfda950fa0a59e533 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sat, 16 Apr 2022 10:06:23 -0700 Subject: tests: avoid testing syscall snippets if -DINTERCEPT_SYSCALL is not set See https://bugs.debian.org/1007828 --- test/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/Makefile b/test/Makefile index 0a76a66..bc6f400 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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) -- cgit v1.2.1