[PATCH] D47287: [libFuzzer] Fix multi-arch build support for fuzzer tests.
George Karpenkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 24 17:00:15 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT333242: [libFuzzer] Fix multi-arch build support for fuzzer tests. (authored by george.karpenkov, committed by ).
Herald added subscribers: Sanitizers, llvm-commits.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D47287
Files:
test/fuzzer/CMakeLists.txt
Index: test/fuzzer/CMakeLists.txt
===================================================================
--- test/fuzzer/CMakeLists.txt
+++ test/fuzzer/CMakeLists.txt
@@ -50,14 +50,16 @@
${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME}/lit.site.cfg
)
- add_lit_testsuite(check-fuzzer-${stdlib_name} "Running Fuzzer ${stdlib} tests"
- ${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME}
+ add_lit_testsuite(check-fuzzer-${stdlib_name}-${arch}
+ "Running Fuzzer ${stdlib} tests"
+ ${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME}/
DEPENDS ${LIBFUZZER_TEST_DEPS})
if(TEST_DEPS)
- add_dependencies(check-fuzzer-${stdlib_name} ${TEST_DEPS})
+ add_dependencies(check-fuzzer-${stdlib_name}-${arch} ${TEST_DEPS})
endif()
- set_target_properties(check-fuzzer-${stdlib_name} PROPERTIES FOLDER "Compiler-RT Tests")
- add_dependencies(check-fuzzer check-fuzzer-${stdlib_name})
+ set_target_properties(check-fuzzer-${stdlib_name}-${arch}
+ PROPERTIES FOLDER "Compiler-RT Tests")
+ add_dependencies(check-fuzzer check-fuzzer-${stdlib_name}-${arch})
endforeach()
endmacro()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47287.148511.patch
Type: text/x-patch
Size: 1124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180525/02338491/attachment.bin>
More information about the llvm-commits
mailing list