Skip to content

Commit d84c471

Browse files
committed
[Backtracing] Disable backtracer for Runtime/backtrace test.
The Runtime/backtrace test is a test of the fatalError() backtracer, which gets turned off when we have the new backtracer enabled. So, to make this test work, we need to turn off the new backtracer. rdar://117470489
1 parent 93e05cd commit d84c471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Runtime/backtrace.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-build-swift %s -o %t/a.out
3-
// RUN: %{python} %S/../Inputs/not.py "%target-run %t/a.out" 2>&1 | %{python} %utils/backtrace-check
3+
// RUN: env SWIFT_BACKTRACE=enable=no %{python} %S/../Inputs/not.py "%target-run %t/a.out" 2>&1 | %{python} %utils/backtrace-check
44

55
// NOTE: not.py is used above instead of "not --crash" because %target-run
66
// doesn't pass through the crash, and `not` may not be available when running

0 commit comments

Comments
 (0)