add ethcore-light cov target

This commit is contained in:
Robert Habermeier 2016-12-09 15:20:45 +01:00
parent 9a4dfbd211
commit 415fccfffb
2 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,10 @@ impl IoContext for Expect {
fn disable_peer(&self, peer: PeerId) {
assert_eq!(self, &Expect::Punish(peer));
}
fn protocol_version(&self, _peer: PeerId) -> Option<u8> {
Some(super::MAX_PROTOCOL_VERSION)
}
}
// can't implement directly for Arc due to cross-crate orphan rules.

View File

@ -17,4 +17,5 @@ export TARGETS="
-p ethcore-ipc \
-p ethcore-ipc-tests \
-p ethcore-ipc-nano \
-p ethcore-light \
-p parity"