aboutsummaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2024-03-08 12:17:07 -0500
committerEric Fiselier <eric@efcs.ca>2024-03-08 12:17:07 -0500
commit0bbada93a559b604797fe57978f3eca5e41edaeb (patch)
treeabda0173ab00491057b7ff60e44d387cae17175f /libcxx
parent73b2d672c1c8318cd16a02812c39ae3997b9dbcd (diff)
downloadllvm-0bbada93a559b604797fe57978f3eca5e41edaeb.zip
llvm-0bbada93a559b604797fe57978f3eca5e41edaeb.tar.gz
llvm-0bbada93a559b604797fe57978f3eca5e41edaeb.tar.bz2
Actually disable the module generation tests.
LIT was never really meant to generate tests during discovery, and we probably shouldn't be doing this. This hack is even worse than the initial attempt because it buries the "UNSUPPORTED" at the bottom of the test.
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/test/libcxx/module_std.gen.py5
-rw-r--r--libcxx/test/libcxx/module_std_compat.gen.py5
2 files changed, 10 insertions, 0 deletions
diff --git a/libcxx/test/libcxx/module_std.gen.py b/libcxx/test/libcxx/module_std.gen.py
index fc23985..5acaa83 100644
--- a/libcxx/test/libcxx/module_std.gen.py
+++ b/libcxx/test/libcxx/module_std.gen.py
@@ -16,7 +16,11 @@
# to be one monolitic test. Since the test doesn't take very long it's
# not a huge issue.
+# WARNING: Disabled at the bottom. Fix this test and remove the UNSUPPORTED line
+# TODO: Re-enable this test once we understand why it keeps timing out.
+
# RUN: %{python} %s %{libcxx-dir}/utils
+# END.
import sys
@@ -35,4 +39,5 @@ generator = module_test_generator(
print("//--- module_std.sh.cpp")
+print('// UNSUPPORTED: clang')
generator.write_test("std")
diff --git a/libcxx/test/libcxx/module_std_compat.gen.py b/libcxx/test/libcxx/module_std_compat.gen.py
index 000aa29..a502276 100644
--- a/libcxx/test/libcxx/module_std_compat.gen.py
+++ b/libcxx/test/libcxx/module_std_compat.gen.py
@@ -16,7 +16,11 @@
# to be one monolitic test. Since the test doesn't take very long it's
# not a huge issue.
+# WARNING: Disabled at the bottom. Fix this test and remove the UNSUPPORTED line
+# TODO: Re-enable this test once we understand why it keeps timing out.
+
# RUN: %{python} %s %{libcxx-dir}/utils
+# END.
import sys
@@ -36,6 +40,7 @@ generator = module_test_generator(
print("//--- module_std_compat.sh.cpp")
+print("// UNSUPPORTED: clang")
generator.write_test(
"std.compat",
module_c_headers,