[PATCH] D49249: [libFuzzer] Use separate test directory for each config

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 12 09:44:07 PDT 2018


jdenny created this revision.
jdenny added a reviewer: samsonov.
Herald added a subscriber: Sanitizers.

Previously, check-all failed many tests for me.  It was running both
the X86_64DefaultLinuxConfig and X86_64LibcxxLinuxConfig configs out
of llvm-build/projects/compiler-rt/test/fuzzer.  Now, it runs them out
of separate subdirectories there, and most tests pass.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D49249

Files:
  compiler-rt/test/fuzzer/lit.site.cfg.in


Index: compiler-rt/test/fuzzer/lit.site.cfg.in
===================================================================
--- compiler-rt/test/fuzzer/lit.site.cfg.in
+++ compiler-rt/test/fuzzer/lit.site.cfg.in
@@ -1,6 +1,6 @@
 @LIT_SITE_CFG_IN_HEADER@
 
-config.test_exec_root = "@CMAKE_CURRENT_BINARY_DIR@"
+config.test_exec_root = "@CMAKE_CURRENT_BINARY_DIR@/@CONFIG_NAME@"
 
 config.cpp_compiler = "@LIBFUZZER_TEST_COMPILER@"
 config.target_flags = "@LIBFUZZER_TEST_FLAGS@"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49249.155197.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180712/dfcc16c1/attachment.bin>


More information about the llvm-commits mailing list