Skip to content
This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Commit 7264584

Browse files
authored
Merge pull request #120 from GoogleCloudPlatform/fuzz_test_svn_update
Updated the process in which we download the llvm fuzz tests which were recently moved to a github repo.
2 parents f449d4b + 6dd6f3b commit 7264584

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,4 @@ script:
114114
make -C examples/iot_core_mqtt_client IOTC_CLIENT_LIB_PATH=../../bin/linux IOTC_BSP_TLS=$IOTC_BSP_TLS;
115115
fi;
116116
fi;"
117+

make/mt-config/tests/mt-tests-fuzz.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ IOTC_FUZZ_TEST_LIBRARY := -lFuzzer
3333

3434
IOTC_CLANG_TOOLS_DIR := $(LIBIOTC)/src/import/clang_tools
3535

36-
IOTC_LIBFUZZER_URL := https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer
37-
IOTC_LIBFUZZER_DOWNLOAD_DIR := $(IOTC_CLANG_TOOLS_DIR)/downloaded_libfuzzer
36+
IOTC_LIBFUZZER_URL := https://github.com/llvm/llvm-project/trunk/compiler-rt/lib/fuzzer
37+
IOTC_LIBFUZZER_DOWNLOAD_DIR := $(IOTC_CLANG_TOOLS_DIR)/fuzzer
3838
IOTC_LIBFUZZER := $(IOTC_LIBFUZZER_DOWNLOAD_DIR)/libFuzzer.a
3939

4040
$(IOTC_LIBFUZZER_DOWNLOAD_DIR):
4141
@-mkdir -p $(IOTC_LIBFUZZER_DOWNLOAD_DIR)
42-
svn checkout $(IOTC_LIBFUZZER_URL) $(IOTC_LIBFUZZER_DOWNLOAD_DIR)
42+
(cd $(IOTC_CLANG_TOOLS_DIR) && svn export $(IOTC_LIBFUZZER_URL) --force)
4343

4444
$(IOTC_LIBFUZZER): $(IOTC_LIBFUZZER_DOWNLOAD_DIR)
4545
(cd $(IOTC_LIBFUZZER_DOWNLOAD_DIR) && clang++ -c -g -O2 -lstdc++ -std=c++11 *.cpp -IFuzzer && ar ruv libFuzzer.a Fuzzer*.o)

0 commit comments

Comments
 (0)