force check of stackdump (#475)

This commit is contained in:
Kjell Hedström 2023-02-04 04:37:13 -07:00 committed by GitHub
parent 6c6122fafc
commit 16bb6f7e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,4 +78,10 @@ jobs:
shell: bash shell: bash
# Execute tests defined by the CMake configuration. # Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail # 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"