From 69b9a5a4981712a7f3b8e5e5cebc0def20cc81b7 Mon Sep 17 00:00:00 2001 From: Dima Korolev Date: Wed, 31 Jul 2024 12:28:12 +0200 Subject: [PATCH] Running `make test` is `make debug_test` by default. --- cmake/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Makefile b/cmake/Makefile index b30d6220..effad900 100644 --- a/cmake/Makefile +++ b/cmake/Makefile @@ -38,7 +38,7 @@ release_dir: ${RELEASE_BUILD_DIR} .gitignore ${RELEASE_BUILD_DIR}: CMakeLists.txt src @C5T_DEPS="${C5T_DEPS}" C5T_NO_GTEST="${C5T_NO_GTEST}" cmake -DCMAKE_BUILD_TYPE=Release -B "${RELEASE_BUILD_DIR}" . -test: release +release_test: release @(cd "${RELEASE_BUILD_DIR}"; make test) debug: debug_dir CMakeLists.txt @@ -53,7 +53,7 @@ ${DEBUG_BUILD_DIR}: CMakeLists.txt src debug_test: debug @(cd "${DEBUG_BUILD_DIR}"; make test) -test: release_test +test: debug_test fmt: ${CLANG_FORMAT} -i src/*.cc src/*.h