Skip to content

Commit d0fcb08

Browse files
committed
ctest needs config to run tests for
Add -C option
1 parent c02dbd4 commit d0fcb08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ install: $(_build_path)/CMakeCache.txt ## Install the project
6666
DESTDIR=$(abspath $(DEST)) ninja -C $(_build_path) -k 0 install
6767

6868
ctest: $(_build_path)/CMakeCache.txt ## Run CTest on current build
69-
cd $(_build_path) && ctest --output-on-failure
69+
cd $(_build_path) && ctest --output-on-failure -C $(CONFIG)
7070

7171
ctest_ : compile
72-
cd $(_build_path) && ctest --output-on-failure
72+
cd $(_build_path) && ctest --output-on-failure -C $(CONFIG)
7373

7474
test: ctest_ ## Rebuild and run tests
7575

@@ -89,7 +89,7 @@ env:
8989

9090
.PHONY: papers
9191
papers:
92-
$(MAKE) -C papers papers
92+
$(MAKE) -C papers/P2988 papers
9393

9494
PYEXECPATH ?= $(shell which python3.12 || which python3.11 || which python3.10 || which python3.9 || which python3.8 || which python3.7 || which python3)
9595
PYTHON ?= $(shell basename $(PYEXECPATH))

0 commit comments

Comments
 (0)