diff --git src/third_party/doctest.h src/third_party/doctest.h
index 7712dd6..2452723 100644
|
|
DOCTEST_MSVC_SUPPRESS_WARNING(26812) // Prefer 'enum class' over 'enum' |
370 | 370 | #elif defined(DOCTEST_PLATFORM_MAC) |
371 | 371 | #if defined(__x86_64) || defined(__x86_64__) || defined(__amd64__) || defined(__i386) |
372 | 372 | #define DOCTEST_BREAK_INTO_DEBUGGER() __asm__("int $3\n" : :) |
| 373 | #elif defined(__ppc__) || defined(__ppc64__) |
| 374 | // https://www.cocoawithlove.com/2008/03/break-into-debugger.html |
| 375 | #define DOCTEST_BREAK_INTO_DEBUGGER() __asm__("li r0, 20\nsc\nnop\nli r0, 37\nli r4, 2\nsc\nnop\n": : : "memory","r0","r3","r4") |
373 | 376 | #else |
374 | 377 | #define DOCTEST_BREAK_INTO_DEBUGGER() __asm__("brk #0"); |
375 | 378 | #endif |
diff --git test/run test/run
index 2244943..ebf46c8 100755
|
|
if [[ $OSTYPE = msys* ]]; then |
514 | 514 | fi |
515 | 515 | |
516 | 516 | if $HOST_OS_APPLE; then |
517 | | SDKROOT=$(xcrun --sdk macosx --show-sdk-path 2>/dev/null) |
| 517 | SDKROOT=/ |
518 | 518 | if [ "$SDKROOT" = "" ]; then |
519 | 519 | echo "Error: xcrun --show-sdk-path failure" |
520 | 520 | exit 1 |