Skip to content

Commit

Permalink
Avoid testing benches with nextest
Browse files Browse the repository at this point in the history
Since criterion doesn't support the flags mentioned on

https://nexte.st/book/custom-test-harnesses.html

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
  • Loading branch information
jszwedko committed Mar 4, 2022
1 parent c1ee754 commit d48dad8
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 13 deletions.
8 changes: 0 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -816,44 +816,37 @@ enrichment-tables-benches = ["enrichment-tables-file"]
[[bench]]
name = "default"
harness = false
test = true
required-features = ["benches"]

[[bench]]
name = "dnstap"
path = "benches/dnstap/mod.rs"
harness = false
test = true
required-features = ["dnstap-benches"]

[[bench]]
name = "remap"
harness = false
test = true
required-features = ["remap-benches"]

[[bench]]
name = "enrichment_tables_file"
harness = false
test = true
required-features = ["enrichment-tables-benches"]

[[bench]]
name = "languages"
harness = false
test = true
required-features = ["language-benches"]

[[bench]]
name = "loki"
harness = false
test = true
required-features = ["loki-benches"]

[[bench]]
name = "distribution_statistic"
harness = false
test = true
required-features = ["statistic-benches"]

[[bench]]
Expand All @@ -867,5 +860,4 @@ required-features = ["transform-benches"]
name = "codecs"
path = "benches/codecs/main.rs"
harness = false
test = false
required-features = ["codecs-benches"]
1 change: 0 additions & 1 deletion lib/file-source/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ pretty_assertions = "1.1.0"
[[bench]]
name = "buffer"
harness = false
test = true
1 change: 0 additions & 1 deletion lib/tracing-limit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ tracing-subscriber = { version = "0.3.9", default-features = false, features = [
[[bench]]
name = "limit"
harness = false
test = true
1 change: 0 additions & 1 deletion lib/vrl/compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ vector_common = { path = "../../vector-common", default-features = false, featur
[[bench]]
name = "kind"
harness = false
test = true

[features]
test = []
1 change: 0 additions & 1 deletion lib/vrl/stdlib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,4 @@ bench = false
[[bench]]
name = "benches"
harness = false
test = true
required-features = ["default"]
1 change: 0 additions & 1 deletion lib/vrl/vrl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ vrl-stdlib = { path = "../stdlib" }
[[bench]]
name = "vm"
harness = false
test = true

0 comments on commit d48dad8

Please sign in to comment.