test: wire up the orphaned exception runtime test #21

Merged
obelisk-complex merged 1 commit from upstream-pr/21 into main 2026-09-27 08:39:23 +00:00
obelisk-complex commented 2026-09-26 20:44:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by obelisk-complex on 2026-09-26T20:44:15Z.


Closes #17 (partially: wires up ExceptionRuntime.cpp only; the other three files named in that issue need a source-level fix first, not just CMake wiring, and stay orphaned here).

This test will not pass until #14 merges. ExceptionRuntime.cpp's very first case throws a real C++ exception through the system unwinder, which hits the exact same libstdc++ ABI interposition bug #14 fixes: confirmed with gdb that it SIGABRTs on its first statement on plain main, and passes cleanly once #14's fix is applied on top.

ExceptionRuntime.cpp existed complete and working but was never registered in CMakeLists.txt, so it never built or ran.

Changes

  • core/libs/CMakeLists.txt: registered ExceptionRuntime.cpp as exception_runtime_tests/exception_runtime, following the existing Guest*.cpp test pattern, linked against libc.

Testing (Linux, GCC)

  • Full build succeeds.
  • ctest: 23/31. The 7 pre-existing failures plus exception_runtime (8 total), which fails until #14 merges.

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4649558690 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/21). Originally posted by [obelisk-complex](https://github.com/obelisk-complex) on 2026-09-26T20:44:15Z. --- Closes #17 (partially: wires up `ExceptionRuntime.cpp` only; the other three files named in that issue need a source-level fix first, not just CMake wiring, and stay orphaned here). **This test will not pass until #14 merges.** `ExceptionRuntime.cpp`'s very first case throws a real C++ exception through the system unwinder, which hits the exact same libstdc++ ABI interposition bug #14 fixes: confirmed with `gdb` that it SIGABRTs on its first statement on plain `main`, and passes cleanly once #14's fix is applied on top. `ExceptionRuntime.cpp` existed complete and working but was never registered in `CMakeLists.txt`, so it never built or ran. Changes - `core/libs/CMakeLists.txt`: registered `ExceptionRuntime.cpp` as `exception_runtime_tests`/`exception_runtime`, following the existing `Guest*.cpp` test pattern, linked against `libc`. Testing (Linux, GCC) - Full build succeeds. - `ctest`: 23/31. The 7 pre-existing failures plus `exception_runtime` (8 total), which fails until #14 merges. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!21
No description provided.