Skip to content

Commit

Permalink
Running make test is make debug_test by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkorolev committed Jul 31, 2024
1 parent b37d9c3 commit 69b9a5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 69b9a5a

Please sign in to comment.