summaryrefslogtreecommitdiff
path: root/test/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'test/common.mk')
-rw-r--r--test/common.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/common.mk b/test/common.mk
index 677dcbe..c978c2d 100644
--- a/test/common.mk
+++ b/test/common.mk
@@ -11,9 +11,16 @@ endif
IMPLEMENTATION = ref
+ifeq "$(IMPLEMENTATION)" "add_threshold"
+# Filter out tests on tweakey schedule, as the thresholded API differs.
+tests = $(filter-out test-tweakey,$(basename $(wildcard test-*.c)))
+# Don't trigger warnings for "a&b ^ c".
+CFLAGS += -Wno-parentheses
+else
tests = $(basename $(wildcard test-*.c))
-traces = $(basename $(wildcard traces-*.c))
+endif
+traces = $(basename $(wildcard traces-*.c))
test_dir = $(dir $(lastword $(MAKEFILE_LIST)))
root_dir = $(test_dir)..