aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2025-06-05 13:29:57 -0400
committerGitHub <noreply@github.com>2025-06-05 13:29:57 -0400
commit9dc5dac52dfd27fcb6b1ead9dc8c8819cf2e22d6 (patch)
treea40b2905a679d94cc13cd65b1bc71f4f91554762
parent40933fd410dd32870a325a9b6d3c741441d5e213 (diff)
downloadllvm-9dc5dac52dfd27fcb6b1ead9dc8c8819cf2e22d6.zip
llvm-9dc5dac52dfd27fcb6b1ead9dc8c8819cf2e22d6.tar.gz
llvm-9dc5dac52dfd27fcb6b1ead9dc8c8819cf2e22d6.tar.bz2
[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.
-rw-r--r--libcxx/test/libcxx/feature_test_macro/generate_header_test.sh.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/libcxx/feature_test_macro/generate_header_test.sh.py b/libcxx/test/libcxx/feature_test_macro/generate_header_test.sh.py
index 98acfea..789a0bc 100644
--- a/libcxx/test/libcxx/feature_test_macro/generate_header_test.sh.py
+++ b/libcxx/test/libcxx/feature_test_macro/generate_header_test.sh.py
@@ -7,6 +7,7 @@
# ===----------------------------------------------------------------------===##
# RUN: %{python} %s %{libcxx-dir}/utils %{libcxx-dir}/test/libcxx/feature_test_macro/test_data.json %t/tests
+# END.
import os
import sys