[libcxx-commits] [libcxxabi] [libunwind][libc++][libc++abi] Add cross-compilation flags to tests (PR #67201)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 13 17:20:31 PDT 2023


ldionne wrote:

You could try this:

```
diff --git a/libcxx/utils/libcxx/test/params.py b/libcxx/utils/libcxx/test/params.py
index 456794b9b1cc..37ea60b5e495 100644
--- a/libcxx/utils/libcxx/test/params.py
+++ b/libcxx/utils/libcxx/test/params.py
@@ -113,7 +113,7 @@ DEFAULT_PARAMETERS = [
         type=str,
         help="The version of the standard to compile the test suite with.",
         default=lambda cfg: next(
-            s for s in reversed(_allStandards) if getStdFlag(cfg, s)
+            s for s in reversed(_allStandards) if True
         ),
         actions=lambda std: [
             AddFeature(std),
```

Then I think it would fail later and probably in a way that provides more information.

https://github.com/llvm/llvm-project/pull/67201


More information about the libcxx-commits mailing list