aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-01 18:42:16 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-01 18:42:16 +0100
commit26cd8e7d66b0a62d3769f145499be536beb3dbf4 (patch)
tree5e3b3e486b0a79b582b7aa03d8f9ca35b0c08e10
parent291364e1b408d29236034854b7ed30f080e5b6c9 (diff)
downloadsysc-playground-26cd8e7d66b0a62d3769f145499be536beb3dbf4.tar.gz
sysc-playground-26cd8e7d66b0a62d3769f145499be536beb3dbf4.zip
make: if V=1 also make ctest output verbose
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 92959c0..83d3544 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,8 @@ export SYSTEMC_HOME := $(PWD)/INSTALL
V ?= 0
ifeq ($V,1)
- NINJA_FLAGS += --verbose
+ NINJA_FLAGS += --verbose
+ CCTEST_FLAGS += --verbose
endif
SRCS = $(wildcard src/*.cc)
@@ -23,7 +24,7 @@ run: build
done
test: build
- cd BUILD/PLAYGROUND/test && ctest --output-on-failure
+ cd BUILD/PLAYGROUND/test && ctest --output-on-failure $(CCTEST_FLAGS)
BUILD/PLAYGROUND/CMakeCache.txt: CMakeLists.txt
cmake -B BUILD/PLAYGROUND $@ -S . \