From 4ae83f3004636c5f8d8d4e87b51b4c750c256c66 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Wed, 10 Aug 2016 14:06:24 +0300 Subject: [PATCH] Fix ipc compilation and add ipc feature to test targets (#1902) * fix compilation and add it to the ci run * no separator? * use quotes and spaces --- parity/run.rs | 2 -- test.sh | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/parity/run.rs b/parity/run.rs index 7d8ef1ac7..c2b07f487 100644 --- a/parity/run.rs +++ b/parity/run.rs @@ -30,8 +30,6 @@ use ethcore::account_provider::AccountProvider; use ethcore::miner::{Miner, MinerService, ExternalMiner, MinerOptions}; use ethsync::SyncConfig; use informant::Informant; -#[cfg(feature="ipc")] -use ethcore::client::ChainNotify; use rpc::{HttpServer, IpcServer, HttpConfiguration, IpcConfiguration}; use signer::SignerServer; diff --git a/test.sh b/test.sh index 773a7127e..666f10d06 100755 --- a/test.sh +++ b/test.sh @@ -1,11 +1,11 @@ #!/bin/sh # Running Parity Full Test Sute -FEATURES="--features json-tests" +FEATURES="json-tests ipc" case $1 in --no-json) - FEATURES="" + FEATURES="ipc" shift # past argument=value ;; *) @@ -14,5 +14,5 @@ case $1 in esac . ./scripts/targets.sh -cargo test --release $FEATURES $TARGETS $1 \ +cargo test --release --features "$FEATURES" $TARGETS $1 \