OSDN Git Service

[libc++abi] Allow code-signing executables when running the tests
authorLouis Dionne <ldionne@apple.com>
Tue, 23 Jun 2020 13:02:53 +0000 (09:02 -0400)
committerLouis Dionne <ldionne@apple.com>
Tue, 23 Jun 2020 13:03:22 +0000 (09:03 -0400)
libcxxabi/test/lit.site.cfg.in

index 8125e89..69f34da 100644 (file)
@@ -29,5 +29,7 @@ config.cxx_ext_threads          = @LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY@
 config.pstl_src_root            = "@ParallelSTL_SOURCE_DIR@" if @LIBCXX_ENABLE_PARALLEL_ALGORITHMS@ else None
 config.pstl_obj_root            = "@ParallelSTL_BINARY_DIR@" if @LIBCXX_ENABLE_PARALLEL_ALGORITHMS@ else None
 
+config.llvm_codesign_identity   = "@LLVM_CODESIGNING_IDENTITY@"
+
 # Let the main config do the real work.
 lit_config.load_config(config, "@LIBCXXABI_SOURCE_DIR@/test/lit.cfg")