Skip to content

Commit 9da9277

Browse files
committed
Improve dep-tests
1 parent edddabb commit 9da9277

File tree

3 files changed

+287
-132
lines changed

3 files changed

+287
-132
lines changed

dep-tests.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# See `cargo help pkgid`
2+
13
exclude = [
24
"c2-chacha:0.2.3", # よくわからない理由でビルドに失敗する
35
"derive_more:0.99.2", # 必要なファイルがexcludeされている
@@ -7,11 +9,15 @@ exclude = [
79
"nom:5.0.1", # 必要なファイルがexcludeされている
810
"num-rational:0.2.2", # よくわからない理由でビルドに失敗する
911
"petgraph:0.4.13", # よくわからない理由で実行時に失敗する
10-
"primal:0.2.3", # 最終リリース日が古すぎて"normalizing"が行なわれておらず、workspace membersが相対パスのまま
11-
"primal-estimate:0.2.1", # 最終リリース日が古すぎて"normalizing"が行なわれておらず、workspace membersが相対パスのまま
12+
"primal:0.2.3", # 古すぎて"normalizing"が行なわれておらず、workspace membersが相対パスのまま
13+
"primal-estimate:0.2.1", # 古すぎて"normalizing"が行なわれておらず、workspace membersが相対パスのまま
1214
"proc-macro2:1.0.6", # よくわからない理由でビルドに失敗する
1315
"rand_core:0.3.1", # よくわからない理由でビルドに失敗する
1416
# "smallvec:1.0.0", # 成功はするが謎のエラーが表示される
1517
"syn:0.15.44", # よくわからない理由でビルドに失敗する
1618
"syn:1.0.8", # よくわからない理由でビルドに失敗する
1719
]
20+
21+
# key部分でSPECを指定すると、そのSPECの対象のpackageはvalue部分で指定したtargetのみ実行する。
22+
[filter]
23+
"text_io:0.1.7" = { doc = true, lib = true, test = ["module", "read_str"] } # `"tuple"`が`target/`下の実行ファイルを実行(しかもexamplesの)という行儀の悪いことをやっている

dep-tests/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ publish = false
88

99
[dependencies]
1010
cargo = "0.40.0"
11+
either = "1.5.3"
1112
failure = "0.1.6"
1213
fs_extra = "1.1.0"
1314
itertools = "0.8.2"
@@ -16,3 +17,4 @@ once_cell = "1.2.0"
1617
serde = { version = "1.0.103", features = ["derive"] }
1718
structopt = "0.3.5"
1819
toml = "0.5.5"
20+
toml_edit = "0.1.5"

0 commit comments

Comments
 (0)