Skip to content

Commit 9dc5dac

Browse files
authored
[libc++] Avoid spuriously unsupporting the new FTM tests (#142024)
The new FTM tests contain text that they validate against to check the output of the FTM generation script. However, that text lexically contains the characters `// UNSUPPORTED: <...>`, which leads Lit to make the whole test unsupported under these conditions. To prevent that from happening, an `# END.` block can be used to prevent Lit from looking further into the file for directives.
1 parent 40933fd commit 9dc5dac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcxx/test/libcxx/feature_test_macro/generate_header_test.sh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# ===----------------------------------------------------------------------===##
88

99
# RUN: %{python} %s %{libcxx-dir}/utils %{libcxx-dir}/test/libcxx/feature_test_macro/test_data.json %t/tests
10+
# END.
1011

1112
import os
1213
import sys

0 commit comments

Comments
 (0)