From 1907a90783165d13a53f600a82cd00dbb75a10ed Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 1 May 2023 17:40:33 +0200 Subject: 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? --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3