Skip to content

Commit

Permalink
[ubsan][test] Enable Misc/Linux tests on all Posix systems
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 committed Oct 8, 2024
1 parent a3a253d commit a5868ab
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 a5868ab

Please sign in to comment.