Skip to content

Commit

Permalink
Added test rule to the main Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomáš Kolárik authored and Tomaqa committed Mar 27, 2024
1 parent 8533008 commit 2ef25ff
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ef25ff

Please sign in to comment.