[libcxx-commits] [libcxx] r366579 - [libc++] Add missing %link_flags to .sh.cpp test
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 19 07:01:49 PDT 2019
Author: ldionne
Date: Fri Jul 19 07:01:48 2019
New Revision: 366579
URL: http://llvm.org/viewvc/llvm-project?rev=366579&view=rev
Log:
[libc++] Add missing %link_flags to .sh.cpp test
Without the link flags, the test always fails on Linux. For some reason,
however, it works on Darwin -- which is why it wasn't caught at first.
Modified:
libcxx/trunk/test/libcxx/strings/basic.string/PR42676.sh.cpp
Modified: libcxx/trunk/test/libcxx/strings/basic.string/PR42676.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/strings/basic.string/PR42676.sh.cpp?rev=366579&r1=366578&r2=366579&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/strings/basic.string/PR42676.sh.cpp (original)
+++ libcxx/trunk/test/libcxx/strings/basic.string/PR42676.sh.cpp Fri Jul 19 07:01:48 2019
@@ -8,7 +8,7 @@
// Regression test for PR42676.
-// RUN: %cxx %flags %s -o %t.exe %compile_flags -D_LIBCPP_HIDE_FROM_ABI_PER_TU
+// RUN: %cxx %flags %s -o %t.exe %compile_flags %link_flags -D_LIBCPP_HIDE_FROM_ABI_PER_TU
// RUN: %t.exe
#include <memory>
More information about the libcxx-commits
mailing list