Skip to content
This repository was archived by the owner on Jul 6, 2019. It is now read-only.

Commit 107e7fa

Browse files
committed
Require feature 'test' to pull in volatile_cell replayer
1 parent cfe69ec commit 107e7fa

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Cargo.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ name = "zinc"
99
crate-type = ["lib"]
1010

1111
[features]
12+
test = ["volatile_cell/replayer"]
13+
1214
cpu_cortex-m0 = []
1315
cpu_cortex-m3 = []
1416
cpu_cortex-m4 = []
@@ -40,12 +42,8 @@ path = "./volatile_cell"
4042
git = "https://github.com/hackndev/rlibc"
4143
branch = "zinc"
4244

43-
[dev-dependencies.volatile_cell]
44-
path = "./volatile_cell"
45-
features = ["replayer"]
46-
47-
[dev-dependencies.expectest]
48-
version = "*"
45+
[dev-dependencies]
46+
expectest = "*"
4947

5048
[dev-dependencies.platformtree]
5149
path = "./platformtree"

support/build-jenkins.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ echo " * rustc version: `rustc --version`"
66

77
if [ "$PLATFORM" == "native" ]; then
88
# build unit tests
9-
cargo test --lib --verbose
9+
cargo test --features test --lib --verbose
1010
(cd ./ioreg; cargo build --verbose; cargo test --verbose)
1111
(cd ./platformtree; cargo build --verbose; cargo test --verbose)
1212
(cd ./macro_platformtree; cargo build --verbose; cargo test --verbose)

0 commit comments

Comments
 (0)