[libcxx-commits] [libcxx] bf5941a - [libc++] Fix extern-templates.sh.cpp test on Linux

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 28 07:46:44 PST 2021


Author: Louis Dionne
Date: 2021-01-28T10:46:22-05:00
New Revision: bf5941afcda3ac6570ba25165758869287491e0d

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

LOG: [libc++] Fix extern-templates.sh.cpp test on Linux

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 b2ed6a63d630..0e19895ba8f0 100644
--- a/libcxx/test/libcxx/debug/extern-templates.sh.cpp
+++ b/libcxx/test/libcxx/debug/extern-templates.sh.cpp
@@ -15,7 +15,7 @@
 // UNSUPPORTED: libcpp-has-no-localization
 
 // 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
+// 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
 // RUN: %{exec} %t.exe
 
 #include <cassert>


        


More information about the libcxx-commits mailing list