From 2ef25ffc5df95e15f02e17c96ec6111aca374c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Kol=C3=A1rik?= Date: Tue, 26 Mar 2024 15:08:02 +0100 Subject: [PATCH] Added test rule to the main Makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile b/Makefile index fe332a310..3f993fecd 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,20 @@ $(DEBUG_BUILD_DIR): ################################ +.PHONY: test test-all test-release test-debug + +test: test-release + +test-all: test-release test-debug + +test-release: + ctest --test-dir $(RELEASE_BUILD_DIR) + +test-debug: + ctest --test-dir $(DEBUG_BUILD_DIR) + +################################ + .PHONY: clean clean-all clean-release clean-debug clean: clean-release