[llvm-commits] [compiler-rt] r170696 - /compiler-rt/trunk/cmake/Modules/CompilerRTUnittests.cmake
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Dec 20 06:34:09 PST 2012
Author: eugenis
Date: Thu Dec 20 08:34:09 2012
New Revision: 170696
URL: http://llvm.org/viewvc/llvm-project?rev=170696&view=rev
Log:
[*san] Create unittests output directory, if it does not exist.
Modified:
compiler-rt/trunk/cmake/Modules/CompilerRTUnittests.cmake
Modified: compiler-rt/trunk/cmake/Modules/CompilerRTUnittests.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTUnittests.cmake?rev=170696&r1=170695&r2=170696&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTUnittests.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/CompilerRTUnittests.cmake Thu Dec 20 08:34:09 2012
@@ -18,6 +18,7 @@
macro(add_compiler_rt_test test_suite test_name)
parse_arguments(TEST "OBJECTS;DEPS;LINK_FLAGS" "" ${ARGN})
get_unittest_directory(OUTPUT_DIR)
+ file(MAKE_DIRECTORY ${OUTPUT_DIR})
set(output_bin "${OUTPUT_DIR}/${test_name}")
add_custom_command(
OUTPUT ${output_bin}
More information about the llvm-commits
mailing list