[libcxx-commits] [libcxx] b5bada6 - [libcxx][test] Narrow XFAIL for tests that pass with `msvc && stdlib=msvc`

Casey Carter via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 26 12:17:50 PST 2022


Author: Casey Carter
Date: 2022-01-26T12:17:45-08:00
New Revision: b5bada6f85ce6789415d8b9844b6fd3a26d5408f

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

LOG: [libcxx][test] Narrow XFAIL for tests that pass with `msvc && stdlib=msvc`

... but fail with `msvc && stdlib=libc++`.

Differential Review: https://reviews.llvm.org/D118194

Added: 
    

Modified: 
    libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp
    libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp b/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp
index 4a8a610dca11..c5725bde6e6c 100644
--- a/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp
+++ b/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp
@@ -13,7 +13,7 @@
 // are provided by vcruntime/UCRT's new.h. However, that header actually only
 // declares set_new_handler - it's missing a declaration of get_new_handler.
 
-// XFAIL: msvc
+// XFAIL: msvc && stdlib=libc++
 
 #include <new>
 #include <cassert>

diff  --git a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp
index 521c96847660..0c478d02cbf7 100644
--- a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp
+++ b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp
@@ -8,7 +8,7 @@
 
 // FIXME: In MSVC mode, even "std::function<int(int)> f(aref);" causes
 // allocations.
-// XFAIL: msvc
+// XFAIL: msvc && stdlib=libc++
 
 // <functional>
 


        


More information about the libcxx-commits mailing list