aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-01 17:40:33 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-06 16:24:23 +0200
commit1907a90783165d13a53f600a82cd00dbb75a10ed (patch)
tree042b999cb414d1aec9043f4b72f00e3ede84db7b /Makefile
parentadd a cimple-valgrind executable (diff)
downloadcimple-1907a90783165d13a53f600a82cd00dbb75a10ed.tar.gz
cimple-1907a90783165d13a53f600a82cd00dbb75a10ed.zip
add a couple of the most basic tests using Pytest
I'm super-unsure about this; I don't really like all the magic, but we'll see, I guess?
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5ae034d..450e57b 100644
--- a/Makefile
+++ b/Makefile
@@ -58,3 +58,7 @@ build:
.PHONY: install
install: build
cmake --install '$(call escape,$(cmake_dir))'
+
+.PHONY: test
+test:
+ cd -- '$(call escape,$(cmake_dir))' && ctest -C '$(call escape,$(BUILD_TYPE))' --verbose