From: Louis Dionne Date: Tue, 23 Apr 2019 00:03:34 +0000 (+0000) Subject: [libc++abi] Don't use a .sh.cpp test for uncaught_exception X-Git-Tag: llvmorg-10-init~7281 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c86011f5bc35a3ad7bd0698a58a59f7bb2e7c94a;p=platform%2Fupstream%2Fllvm.git [libc++abi] Don't use a .sh.cpp test for uncaught_exception Otherwise, we don't seem to get the DYLD_LIBRARY_PATH set up correctly and the tests are run against the system libc++abi dylib. llvm-svn: 358937 --- diff --git a/libcxxabi/test/uncaught_exception.pass.sh.cpp b/libcxxabi/test/uncaught_exception.pass.cpp similarity index 84% rename from libcxxabi/test/uncaught_exception.pass.sh.cpp rename to libcxxabi/test/uncaught_exception.pass.cpp index ccb10f2..626f4cb 100644 --- a/libcxxabi/test/uncaught_exception.pass.sh.cpp +++ b/libcxxabi/test/uncaught_exception.pass.cpp @@ -10,12 +10,6 @@ // This tests that libc++abi still provides __cxa_uncaught_exception() for // ABI compatibility, even though the Standard doesn't require it to. -// -// We need to explicitly link against libc++abi, because libc++ does not -// re-export this symbol. - -// RUN: %build -lc++abi -o %t.exe -// RUN: %t.exe #include #include