Skip to content

Commit

Permalink
[ubsan][test] Enable Misc/Linux tests on all Posix systems (llvm#111497)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
rorth authored and bricknerb committed Oct 17, 2024
1 parent e37cd0f commit 1a26408
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ def getRoot(config):

root = getRoot(config)

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

0 comments on commit 1a26408

Please sign in to comment.