Skip to content

Commit

Permalink
gcc 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Mar 30, 2017
1 parent 2b5b4ee commit 314e516
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
@@ -1,9 +1,14 @@
language: rust

rust:
- stable
- beta
- nightly
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5

rust: nightly

os:
- linux
Expand Down
10 changes: 9 additions & 1 deletion scripts/run.sh
Expand Up @@ -4,5 +4,13 @@ cd testcrate
cargo build
cargo-fuzz init
sed -i 's/\/\/.*/testcrate\:\:test_func\(data\)\;/g' fuzz/fuzzers/fuzzer_script_1.rs
cargo-fuzz run fuzzer_script_1

if CC=gcc-5 CXX=g++-5 cargo-fuzz run fuzzer_script_1 -- -runs=1000; then
exit 100; # Should not succeed!
else
:;
fi

# should be something there!
ls fuzz/artifacts/fuzzer_script_1/crash-*

0 comments on commit 314e516

Please sign in to comment.