summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-15 18:54:37 -0400
committerpommicket <pommicket@gmail.com>2025-09-15 18:54:37 -0400
commitd5cf3acb7a45b7e46bf51dc6a66030d7bc986597 (patch)
tree357dc594623a3abc2a04d2d516df3bed9406a933 /Makefile
parent2b519f42fec913763abd0d967301916e763e770a (diff)
Interpretation tests, various bugfixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8d8474b..65a7055 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,9 @@ BUILD_DIR ?= $(PROFILE)
__build:
mkdir -p $(BUILD_DIR)
P=`pwd` && cd $(BUILD_DIR) && cmake -DCMAKE_BUILD_TYPE=$(PROFILE) -DCMAKE_EXPORT_COMPILE_COMMANDS=1 $$P
- make -j16 -C $(BUILD_DIR)
+ $(MAKE) -C $(BUILD_DIR)
-.PHONY: __build
+test: __build
+ valgrind --exit-on-first-error=yes --error-exitcode=1 $(BUILD_DIR)/tests
+
+.PHONY: __build test