From 51fd6be46642512f0d0d0e5a8149f98146961109 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 13 Nov 2020 17:05:41 -0800 Subject: [PATCH] target to generate given testcase --- testing/makefiles/testcase.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/makefiles/testcase.mk b/testing/makefiles/testcase.mk index 38d8a653..c926e1e0 100644 --- a/testing/makefiles/testcase.mk +++ b/testing/makefiles/testcase.mk @@ -72,6 +72,10 @@ compile-sketch: # If we have a test.ktest file, it should be processed into a c++ testcase + +generate-testcase: ${SRC_DIR}/generated-testcase.cpp + + ${SRC_DIR}/generated-testcase.cpp: test.ktest ifneq (,$(wildcard test.ktest)) @echo "Compiling ktest script into ${SRC_DIR}/generated-testcase.cpp"