Skip to content

Commit 0bbada9

Browse files
committed
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.
1 parent 73b2d67 commit 0bbada9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

libcxx/test/libcxx/module_std.gen.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
# to be one monolitic test. Since the test doesn't take very long it's
1717
# not a huge issue.
1818

19+
# WARNING: Disabled at the bottom. Fix this test and remove the UNSUPPORTED line
20+
# TODO: Re-enable this test once we understand why it keeps timing out.
21+
1922
# RUN: %{python} %s %{libcxx-dir}/utils
23+
# END.
2024

2125
import sys
2226

@@ -35,4 +39,5 @@
3539

3640

3741
print("//--- module_std.sh.cpp")
42+
print('// UNSUPPORTED: clang')
3843
generator.write_test("std")

libcxx/test/libcxx/module_std_compat.gen.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
# to be one monolitic test. Since the test doesn't take very long it's
1717
# not a huge issue.
1818

19+
# WARNING: Disabled at the bottom. Fix this test and remove the UNSUPPORTED line
20+
# TODO: Re-enable this test once we understand why it keeps timing out.
21+
1922
# RUN: %{python} %s %{libcxx-dir}/utils
23+
# END.
2024

2125
import sys
2226

@@ -36,6 +40,7 @@
3640

3741

3842
print("//--- module_std_compat.sh.cpp")
43+
print("// UNSUPPORTED: clang")
3944
generator.write_test(
4045
"std.compat",
4146
module_c_headers,

0 commit comments

Comments
 (0)