Skip to content

Commit

Permalink
test macOS abort in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Oct 13, 2024
1 parent 0792669 commit b113c15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
GEM_PATH="$GEM_PATH"
PASSENGER_DUMP_WITH_CRASH_WATCH=false
PASSENGER_FORCE_TERMINATE_ON_ABORT=true
gtimeout --signal KILL --verbose 600
gtimeout --signal KILL --verbose 30
../buildout/test/cxx/main
working-directory: test

Expand Down
2 changes: 2 additions & 0 deletions test/cxx/CxxTestMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ main(int argc, char *argv[]) {
resourceLocator = Agent::Fundamentals::context->resourceLocator;
loadConfigFile();

abort();

bool all_ok = true;
if (runMode == RUN_ALL_GROUPS) {
tut::runner.get().run_tests();
Expand Down

0 comments on commit b113c15

Please sign in to comment.