[libcxx-commits] [libcxx] e8118e6 - [libc++] Fix XFAIL annotation

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 20 07:18:43 PDT 2021


Author: Louis Dionne
Date: 2021-08-20T10:18:40-04:00
New Revision: e8118e6c8df52cc026daefc1a1c747d9d8a75ed8

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

LOG: [libc++] Fix XFAIL annotation

The triple can sometimes be arm64-apple-macos, where the previous XFAIL
annotation wouldn't match (and hence the test would fail unexpectedly).

Added: 
    

Modified: 
    libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp b/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp
index 83ff44a4f6dc..5a70ea5bd570 100644
--- a/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp
+++ b/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp
@@ -11,7 +11,7 @@
 // ::quick_exit and ::at_quick_exit are not implemented on macOS.
 // TODO: We should never be using `darwin` as the triple, but LLVM's config.guess script
 //       guesses the host triple to be darwin instead of macosx when on macOS.
-// XFAIL: target={{.+}}-apple-macosx{{.+}}
+// XFAIL: target={{.+}}-apple-macos{{.*}}
 // XFAIL: target={{.+}}-apple-darwin{{.+}}
 
 // test quick_exit and at_quick_exit


        


More information about the libcxx-commits mailing list