summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-02-10 23:51:47 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-02-11 13:17:27 -0800
commitec984370fb525d0cbc20b009f69c9c5eaec022a7 (patch)
tree0552947207245d263abffb91e1c6b1d92b86e653
parentea544eb48bb7414a76b059ff285b63ce1cf1fbda (diff)
tests: Fix fuzz_setup.sh
Make the file executable, fix Windows newlines and fix clang setup.
-rwxr-xr-x[-rw-r--r--]tests/fuzz_setup.sh24
1 files changed, 13 insertions, 11 deletions
diff --git a/tests/fuzz_setup.sh b/tests/fuzz_setup.sh
index df5462c..05a40cb 100644..100755
--- a/tests/fuzz_setup.sh
+++ b/tests/fuzz_setup.sh
@@ -1,11 +1,13 @@
-#!/bin/bash
-
-sudo apt-get --yes install subversion screen gcc g++ cmake ninja-build golang autoconf libtool apache2 python-dev pkg-config zlib1g-dev libgcrypt11-dev
-
-git clone https://chromium.googlesource.com/chromium/src/tools/clang
-clang/scripts/update.py
-sudo cp -rf third_party/llvm-build/Release+Asserts/lib/* /usr/local/lib/
-sudo cp -rf third_party/llvm-build/Release+Asserts/bin/* /usr/local/bin
-
-svn co http://llvm.org/svn/llvm-project/llvm/trunk/lib/Fuzzer
-Fuzzer/build.sh
+#!/bin/bash
+
+sudo apt-get --yes install subversion screen gcc g++ cmake ninja-build golang autoconf libtool apache2 python-dev pkg-config zlib1g-dev libgcrypt11-dev
+
+cd clang
+git clone https://chromium.googlesource.com/chromium/src/tools/clang
+cd ..
+clang/clang/scripts/update.py
+sudo cp -rf third_party/llvm-build/Release+Asserts/lib/* /usr/local/lib/
+sudo cp -rf third_party/llvm-build/Release+Asserts/bin/* /usr/local/bin
+
+svn co http://llvm.org/svn/llvm-project/llvm/trunk/lib/Fuzzer
+Fuzzer/build.sh