diff options
author | Chris Mumford <cmumford@chromium.org> | 2020-12-15 17:10:14 -0800 |
---|---|---|
committer | Chris Mumford <cmumford@chromium.org> | 2020-12-15 17:10:14 -0800 |
commit | 6e9ae724234d9fc3dddfdb7f5c5bffb44d201507 (patch) | |
tree | d0e29a66ede35be406b194e5022b60245d169a00 | |
parent | 402d88812c39db90a30387640cd13db291b33bad (diff) | |
download | snappy-git-6e9ae724234d9fc3dddfdb7f5c5bffb44d201507.tar.gz |
Disable fuzzing on OSX.
LibFuzzer does not ship with the Mac OSX Command Line Tools.
```
ld: file not found: /Applications/Xcode-12.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.fuzzer_osx.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 7ecf01e..e10c7d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,7 +59,8 @@ install: export PATH="$(brew --prefix llvm)/bin:$PATH"; fi # Fuzzing is only supported on Clang. Perform fuzzing on Debug builds. -- if [ "$CXX" = "clang++" ] && [ "$BUILD_TYPE" = "Debug" ]; then +# LibFuzzer doesn't ship with CommandLineTools on osx. +- if [ "$CXX" = "clang++" ] && [ "$BUILD_TYPE" = "Debug" ] && [ "$TRAVIS_OS_NAME" != "osx" ]; then export FUZZING=1; else export FUZZING=0; |