[clang] Try to unbreak crash-report.cpp on PS4 bot after 8dfbe9b0a
authorNico Weber <thakis@chromium.org>
Fri, 1 Oct 2021 13:31:10 +0000 (09:31 -0400)
committerNico Weber <thakis@chromium.org>
Fri, 1 Oct 2021 13:33:13 +0000 (09:33 -0400)
Looks like exceptions are off-by-default with the PS4 triple.
Since adding -fexceptions defeats the purpose of the test change
in 8dfbe9b0a, pass an explicit triple instead.

clang/test/Driver/crash-report.cpp

index 293bc1f..7da9488 100644 (file)
@@ -7,7 +7,7 @@
 // RUN:  -Xclang -internal-isystem -Xclang /tmp/                         \
 // RUN:  -Xclang -internal-externc-isystem -Xclang /tmp/                 \
 // RUN:  -Xclang -main-file-name -Xclang foo.cpp                         \
-// RUN:  -DFOO=BAR -DBAR="BAZ QUX"' > %t.rsp
+// RUN:  -DFOO=BAR -DBAR="BAZ QUX"' --target=x86_64-linux-gnu > %t.rsp
 
 // RUN: env TMPDIR=%t TEMP=%t TMP=%t RC_DEBUG_OPTIONS=1                  \
 // RUN:  CC_PRINT_HEADERS=1 CC_LOG_DIAGNOSTICS=1                         \