Skip to content

Commit 1d957fc

Browse files
boomanaiden154Debadri Basak
authored andcommitted
[compiler-rt][UBSan] Add env prefixes in test
This was another test that was not using an env prefix when setting an environment variable. This was caught by the Sparc Solaris builder as it is disabled by default on Linux. https://lab.llvm.org/buildbot/#/builders/13/builds/10414
1 parent d2884af commit 1d957fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/test/ubsan/TestCases/Misc/Posix/print_stack_trace.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsanitize=undefined -O0 %s -o %t && UBSAN_OPTIONS=stack_trace_format=DEFAULT:fast_unwind_on_fatal=1 %run %t 2>&1 | FileCheck %s
2-
// RUN: %clangxx -fsanitize=undefined -O0 %s -o %t && UBSAN_OPTIONS=stack_trace_format=DEFAULT:fast_unwind_on_fatal=0 %run %t 2>&1 | FileCheck %s
1+
// RUN: %clangxx -fsanitize=undefined -O0 %s -o %t && env UBSAN_OPTIONS=stack_trace_format=DEFAULT:fast_unwind_on_fatal=1 %run %t 2>&1 | FileCheck %s
2+
// RUN: %clangxx -fsanitize=undefined -O0 %s -o %t && env UBSAN_OPTIONS=stack_trace_format=DEFAULT:fast_unwind_on_fatal=0 %run %t 2>&1 | FileCheck %s
33

44
// This test is temporarily disabled due to broken unwinding on ARM.
55
// UNSUPPORTED: target={{.*-linux-.*}}

0 commit comments

Comments
 (0)