mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[llvm-symbolizer][test] Fix options-from-env.test
options-from-env.test (D71668) does not test it intended to test: `llvm-symbolizer 0x20112f` prints `0x20112f` in the absence of an environment variable.
This commit is contained in:
parent
33b8583e42
commit
a96b68649e
@ -1,4 +1,6 @@
|
||||
RUN: env LLVM_SYMBOLIZER_OPTS=--print-address llvm-symbolizer 0x20112f | FileCheck %s
|
||||
RUN: env LLVM_ADDR2LINE_OPTS=--print-address llvm-addr2line 0x20112f | FileCheck %s
|
||||
# RUN: env LLVM_SYMBOLIZER_OPTS='0 1 --verbose' llvm-symbolizer 2 | FileCheck %s
|
||||
# RUN: env LLVM_ADDR2LINE_OPTS='0 1 --verbose' llvm-addr2line 2 | FileCheck %s
|
||||
|
||||
CHECK: 0x20112f
|
||||
# CHECK: 0
|
||||
# CHECK-NEXT: 1
|
||||
# CHECK-NEXT: 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user