[libc++abi] Don't use a .sh.cpp test for uncaught_exception
authorLouis Dionne <ldionne@apple.com>
Tue, 23 Apr 2019 00:03:34 +0000 (00:03 +0000)
committerLouis Dionne <ldionne@apple.com>
Tue, 23 Apr 2019 00:03:34 +0000 (00:03 +0000)
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

libcxxabi/test/uncaught_exception.pass.cpp [moved from libcxxabi/test/uncaught_exception.pass.sh.cpp with 84% similarity]

similarity index 84%
rename from libcxxabi/test/uncaught_exception.pass.sh.cpp
rename to libcxxabi/test/uncaught_exception.pass.cpp
index ccb10f2..626f4cb 100644 (file)
 
 // 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 <cxxabi.h>
 #include <cassert>