[clang] e551578 - APINotes: repair the Windows builders

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 13:26:11 PST 2020


Author: Saleem Abdulrasool
Date: 2020-11-05T21:25:52Z
New Revision: e55157874cf20acef55ca20a87699bf77b7cfd3a

URL: https://github.com/llvm/llvm-project/commit/e55157874cf20acef55ca20a87699bf77b7cfd3a
DIFF: https://github.com/llvm/llvm-project/commit/e55157874cf20acef55ca20a87699bf77b7cfd3a.diff

LOG: APINotes: repair the Windows builders

Disable the test on Windows, which should've been obvious as being
needed.  The differences in diff implementations and line-endings make
this test difficult to execute on Windows.

Added: 
    

Modified: 
    clang/test/APINotes/yaml-roundtrip.test

Removed: 
    


################################################################################
diff  --git a/clang/test/APINotes/yaml-roundtrip.test b/clang/test/APINotes/yaml-roundtrip.test
index 3379cbf3b6db..bd4c89d2cdd9 100644
--- a/clang/test/APINotes/yaml-roundtrip.test
+++ b/clang/test/APINotes/yaml-roundtrip.test
@@ -1,6 +1,10 @@
 RUN: apinotes-test %S/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes > %t.result
 RUN: not 
diff  --strip-trailing-cr %S/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes %t.result | FileCheck %s
 
+Avoid Windows as the 
diff  output 
diff ers due to line-endings and 
diff erent 
diff 
+implementations.
+UNSUPPORTED: system-windows
+
 We expect only the nullability to be 
diff erent as it is canonicalized during the
 roudtrip.
 


        


More information about the cfe-commits mailing list