[libcxx-commits] [libcxx] 9dc5dac - [libc++] Avoid spuriously unsupporting the new FTM tests (#142024)
    via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Thu Jun  5 10:30:00 PDT 2025
    
    
  
Author: Louis Dionne
Date: 2025-06-05T13:29:57-04:00
New Revision: 9dc5dac52dfd27fcb6b1ead9dc8c8819cf2e22d6
URL: https://github.com/llvm/llvm-project/commit/9dc5dac52dfd27fcb6b1ead9dc8c8819cf2e22d6
DIFF: https://github.com/llvm/llvm-project/commit/9dc5dac52dfd27fcb6b1ead9dc8c8819cf2e22d6.diff
LOG: [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.
Added: 
    
Modified: 
    libcxx/test/libcxx/feature_test_macro/generate_header_test.sh.py
Removed: 
    
################################################################################
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 98acfeacd0181..789a0bc25a87b 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
        
    
    
More information about the libcxx-commits
mailing list