Merge pull request #69570 from al45tair/eng/PR-117470489

[Linux] Disable fatalError() backtraces when the runtime backtracer is active.
This commit is contained in:
Alastair Houghton
2023-11-09 17:53:53 +00:00
committed by GitHub
5 changed files with 17 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
// RUN: %empty-directory(%t)
// RUN: %target-build-swift %s -o %t/a.out
// RUN: %{python} %S/../Inputs/not.py "%target-run %t/a.out" 2>&1 | %{python} %utils/backtrace-check
// RUN: env SWIFT_BACKTRACE=enable=no %{python} %S/../Inputs/not.py "%target-run %t/a.out" 2>&1 | %{python} %utils/backtrace-check
// NOTE: not.py is used above instead of "not --crash" because %target-run
// doesn't pass through the crash, and `not` may not be available when running