diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2021-01-27 13:08:24 -0500 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2021-02-23 18:52:48 -0800 |
commit | d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6 (patch) | |
tree | fc297057390742f27fdf68bcef4efdb4a5fa5a07 | |
parent | Fix test failures after a92ceea91116e7b95d23eff634507fa2cff86ef2 (diff) | |
download | llvm-project-d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6.tar.gz llvm-project-d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6.tar.bz2 llvm-project-d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6.zip |
[libc++] Fix extern template test failing on Windows
See https://reviews.llvm.org/D94718#2521489 for details.
(cherry picked from commit 90407b16b1d3e38f1360b6a24ceab801ab9cefc1)
-rw-r--r-- | libcxx/test/libcxx/debug/extern-templates.sh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/libcxx/debug/extern-templates.sh.cpp b/libcxx/test/libcxx/debug/extern-templates.sh.cpp index d5039d4f3029..b2ed6a63d630 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: %{cxx} %{flags} %{compile_flags} %s %t.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> |