[zorg] r283646 - [libFuzzer] use the fuzzer-test-suite from external repo
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 18:43:56 PDT 2016
Author: kcc
Date: Fri Oct 7 20:43:56 2016
New Revision: 283646
URL: http://llvm.org/viewvc/llvm-project?rev=283646&view=rev
Log:
[libFuzzer] use the fuzzer-test-suite from external repo
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh?rev=283646&r1=283645&r2=283646&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh Fri Oct 7 20:43:56 2016
@@ -22,7 +22,6 @@ STAGE2_ASAN_ASSERTIONS_DIR=llvm_build_as
MAKE_JOBS=${MAX_MAKE_JOBS:-8}
LLVM=$ROOT/llvm
LIBFUZZER=$LLVM/lib/Fuzzer
-FUZZER_TEST_SUITE=$LIBFUZZER/fuzzer-test-suite
# No assertions. Need to clean up the existing assertion failures first.
# Also, the Fuzzer does not provide reproducers on assertion failures yet.
CMAKE_COMMON_OPTIONS="-GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_PARALLEL_LINK_JOBS=8"
@@ -97,9 +96,14 @@ cmake_stage2_asan_assertions_options="$c
(cd ${STAGE2_ASAN_ASSERTIONS_DIR} && ninja check-fuzzer) || echo @@@STEP_FAILURE@@@
+echo @@@BUILD_STEP get fuzzer-test-suite @@@
+[ ! -e fuzzer-test-suite ] && git clone https://github.com/google/fuzzer-test-suite.git
+(cd fuzzer-test-suite && git pull)
+
RunFuzzerTest() {
echo @@@BUILD_STEP test "$1" fuzzer@@@
- $FUZZER_TEST_SUITE/build-and-test.sh "$1"
+ ln -sf $LIBFUZZER .
+ `pwd`/fuzzer-test-suite/build-and-test.sh "$1"
}
RunFuzzerTest re2-2014-12-09 || echo @@@STEP_WARNINGS@@@
More information about the llvm-commits
mailing list