[llvm-branch-commits] [libcxx] 80878cc - [libc++] Fix XFAIL annotation

Louis Dionne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 20 07:20:36 PDT 2021


Author: Louis Dionne
Date: 2021-08-20T10:20:00-04:00
New Revision: 80878ccb3286e7de3ef2f67f24b2026f4544d244

URL: https://github.com/llvm/llvm-project/commit/80878ccb3286e7de3ef2f67f24b2026f4544d244
DIFF: https://github.com/llvm/llvm-project/commit/80878ccb3286e7de3ef2f67f24b2026f4544d244.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).

(cherry picked from commit e8118e6c8df52cc026daefc1a1c747d9d8a75ed8)

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 llvm-branch-commits mailing list