Skip to content

Commit a5868ab

Browse files
committed
[ubsan][test] Enable Misc/Linux tests on all Posix systems
When investigating PR llvm#101634, it turned out that `UBSan-Standalone-sparc :: TestCases/Misc/Linux/diag-stacktrace.cpp` isn't Linux-specific at all. In fact, none of the `ubsan/TestCases/Misc/Linux` tests are. Therefore this patch moves them to `Misc/Posix` instead. Tested on `sparc64-unknown-linux-gnu`, `sparcv9-sun-solaris2.11`, `x86_64-pc-linux-gnu`, and `amd64-pc-solaris2.11`.
1 parent a3a253d commit a5868ab

File tree

6 files changed

+1
-1
lines changed

6 files changed

+1
-1
lines changed

compiler-rt/test/ubsan/TestCases/Misc/Linux/lit.local.cfg.py compiler-rt/test/ubsan/TestCases/Misc/Posix/lit.local.cfg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ def getRoot(config):
66

77
root = getRoot(config)
88

9-
if root.host_os not in ["Linux"]:
9+
if root.host_os in ["Windows"]:
1010
config.unsupported = True

0 commit comments

Comments
 (0)