From 16bb6f7e0452b08de3e284a560a6468688b635fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m?= Date: Sat, 4 Feb 2023 04:37:13 -0700 Subject: [PATCH] force check of stackdump (#475) --- .github/workflows/ctest.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ctest.yml b/.github/workflows/ctest.yml index a210313..5ade925 100644 --- a/.github/workflows/ctest.yml +++ b/.github/workflows/ctest.yml @@ -78,4 +78,10 @@ jobs: shell: bash # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: ctest -C $BUILD_TYPE + run: ctest -C $BUILD_TYP + + - name: Fatal Exit Example + working-directory: ${{github.workspace}}/build + shell: bash + # hacky / crude and effective + run: ./g3log-FATAL-sigsegv || true && echo -e "\n\n=======================\n\nverifying SIGSEGV existed in stackdump\n\n\n\n" && cat /tmp/g3log*FATAL*.log | grep "SIGSEGV"