Move fuzz to top level.

This commit is contained in:
Matt Corallo 2019-11-22 15:40:58 -05:00
parent 65f7c9f542
commit 9501ecce49
39 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ script:
# Test lightning workspace for 1.22.0
- if [ "$(rustup show | grep default | grep 1.22.0)" != "" ]; then RUSTFLAGS="-C link-dead-code" cargo test --verbose -p lightning; fi
# Run lightning workspace fuzz tests for Rust 1.34.2
- if [ "$(rustup show | grep default | grep 1.34.2)" != "" ]; then cd lightning/fuzz && cargo test --verbose && ./travis-fuzz.sh; fi
- if [ "$(rustup show | grep default | grep 1.34.2)" != "" ]; then cd fuzz && cargo test --verbose && ./travis-fuzz.sh; fi
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz &&

View File

@ -17,7 +17,7 @@ libfuzzer_fuzz = ["libfuzzer-sys"]
[dependencies]
afl = { version = "0.4", optional = true }
lightning = { path = "..", features = ["fuzztarget"] }
lightning = { path = "../lightning", features = ["fuzztarget"] }
bitcoin = { version = "0.20", features = ["fuzztarget"] }
bitcoin_hashes = { version = "0.7", features = ["fuzztarget"] }
hex = "0.3"