[libcxx-commits] [libcxx] b3ceffd - [libcxx] [test] Convert an XFAIL LIBCXX-WINDOWS-FIXME into UNSUPPORTED with explanation
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Thu May 27 13:51:31 PDT 2021
Author: Martin Storsjö
Date: 2021-05-27T23:51:24+03:00
New Revision: b3ceffdf35e5018958891215000b010ac614dbcc
URL: https://github.com/llvm/llvm-project/commit/b3ceffdf35e5018958891215000b010ac614dbcc
DIFF: https://github.com/llvm/llvm-project/commit/b3ceffdf35e5018958891215000b010ac614dbcc.diff
LOG: [libcxx] [test] Convert an XFAIL LIBCXX-WINDOWS-FIXME into UNSUPPORTED with explanation
Differential Revision: https://reviews.llvm.org/D103149
Added:
Modified:
libcxx/test/libcxx/debug/extern-templates.sh.cpp
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/debug/extern-templates.sh.cpp b/libcxx/test/libcxx/debug/extern-templates.sh.cpp
index 3e8e0b766be3..e0fa3104a86f 100644
--- a/libcxx/test/libcxx/debug/extern-templates.sh.cpp
+++ b/libcxx/test/libcxx/debug/extern-templates.sh.cpp
@@ -14,7 +14,12 @@
// UNSUPPORTED: libcxx-no-debug-mode
// UNSUPPORTED: libcpp-has-no-localization
-// XFAIL: LIBCXX-WINDOWS-FIXME
+// This test relies on linking a shared library and then passing that shared
+// library as input when linking an executable; this is generally not supported
+// on Windows (GNU ld supports it, but MS link.exe and LLD don't) - one has to
+// use an import library instead. (Additionally, the test uses the -fPIC
+// option which clang doesn't accept on Windows.)
+// UNSUPPORTED: windows
// RUN: %{cxx} %{flags} %{compile_flags} %s %{link_flags} -fPIC -DTU1 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -shared -o %t.lib
// RUN: cd %T && %{cxx} %{flags} %{compile_flags} %s ./%basename_t.tmp.lib %{link_flags} -fPIC -DTU2 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -o %t.exe
More information about the libcxx-commits
mailing list