[llvm-branch-commits] [libcxx] 4918a3d - [libc++] Fix extern-templates.sh.cpp test on Linux

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Feb 23 19:26:02 PST 2021


Author: Louis Dionne
Date: 2021-02-23T19:17:21-08:00
New Revision: 4918a3d138b907a571f496661b5367e090e1e8bb

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

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

(cherry picked from commit bf5941afcda3ac6570ba25165758869287491e0d)

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