diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-30 03:20:37 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-30 03:32:14 +0200 |
commit | 570fcf2221b2e3d3b898731dae8c32244270af98 (patch) | |
tree | 5c72ad0a0ca6986cd29d35c9ec995ad5dbb9fd26 | |
parent | show git hash with --version (diff) | |
download | cimple-570fcf2221b2e3d3b898731dae8c32244270af98.tar.gz cimple-570fcf2221b2e3d3b898731dae8c32244270af98.zip |
Makefile: add some banners
-rw-r--r-- | Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -46,7 +46,10 @@ clean: .PHONY: build build: - mkdir -p -- '$(call escape,$(cmake_dir))' + @echo ----------------------------------------------------------------- + @echo Building + @echo ----------------------------------------------------------------- + @mkdir -p -- '$(call escape,$(cmake_dir))' cmake \ -G 'Unix Makefiles' \ -D 'CMAKE_C_COMPILER=$(call escape,$(COMPILER))' \ @@ -64,11 +67,19 @@ install: build .PHONY: test test: - cd -- '$(call escape,$(cmake_dir))' && ctest --verbose --exclude-regex python_tests_valgrind + @echo ----------------------------------------------------------------- + @echo Running tests + @echo ----------------------------------------------------------------- + ctest --test-dir '$(call escape,$(cmake_dir))' \ + --verbose --exclude-regex python_tests_valgrind .PHONY: test/valgrind test/valgrind: - cd -- '$(call escape,$(cmake_dir))' && ctest --verbose --tests-regex python_tests_valgrind + @echo ----------------------------------------------------------------- + @echo Running tests w/ Valgrind + @echo ----------------------------------------------------------------- + ctest --test-dir '$(call escape,$(cmake_dir))' \ + --verbose --tests-regex python_tests_valgrind .PHONY: test/all test/all: test test/valgrind |