From 80dff0830416bc006dfaf20ecc3a7b0103388a47 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Tue, 23 Mar 2021 21:07:26 -0700 Subject: [PATCH] invoke ctest manually on ci for windows + gcc builder --- .github/workflows/unittest_windows_gcc.yml | 3 ++- makefile.dev | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unittest_windows_gcc.yml b/.github/workflows/unittest_windows_gcc.yml index d696b715..0ff91a71 100644 --- a/.github/workflows/unittest_windows_gcc.yml +++ b/.github/workflows/unittest_windows_gcc.yml @@ -20,7 +20,8 @@ jobs: ninja - run: | cd build - ninja test + ctest -V + # ninja test #- run: ../build/test/ixwebsocket_unittest.exe # working-directory: test diff --git a/makefile.dev b/makefile.dev index b4a86e89..3bffd363 100644 --- a/makefile.dev +++ b/makefile.dev @@ -113,7 +113,7 @@ test_server: test: mkdir -p build && (cd build ; cmake -GNinja -DCMAKE_UNITY_BUILD=ON -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_TEST=1 ..) (cd build ; ninja) - (cd build ; ninja test) + (cd build ; ninja -v test) test_asan: mkdir -p build && (cd build ; cmake -GNinja -DCMAKE_UNITY_BUILD=ON -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_TEST=1 .. -DCMAKE_C_FLAGS="-fsanitize=address -fno-omit-frame-pointer" -DCMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer")