Skip to content

Commit 100b985

Browse files
committed
attempt #2
1 parent 2eee116 commit 100b985

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ license = "Apache-2.0"
2828
keywords = ["fuzzing", "pickle", "security", "testing", "generator", "corpus"]
2929
categories = ["development-tools::testing", "command-line-utilities"]
3030

31+
[lints.rust]
32+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] }
33+
3134
[[bin]]
3235
name = "pickle-fuzzer"
3336
path = "src/main.rs"

tests/integration_test.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ fn test_protocol_v2_and_above_have_proto() {
138138
}
139139

140140
#[test]
141+
#[cfg_attr(tarpaulin, ignore)]
141142
fn test_cli_single_file_generation() {
142143
use std::fs;
143144
use std::process::Command;
@@ -164,6 +165,7 @@ fn test_cli_single_file_generation() {
164165
}
165166

166167
#[test]
168+
#[cfg_attr(tarpaulin, ignore)]
167169
fn test_cli_with_protocol_flag() {
168170
use std::fs;
169171
use std::process::Command;
@@ -185,6 +187,7 @@ fn test_cli_with_protocol_flag() {
185187
}
186188

187189
#[test]
190+
#[cfg_attr(tarpaulin, ignore)]
188191
fn test_cli_with_seed_produces_deterministic_output() {
189192
use std::fs;
190193
use std::process::Command;
@@ -216,6 +219,7 @@ fn test_cli_with_seed_produces_deterministic_output() {
216219
}
217220

218221
#[test]
222+
#[cfg_attr(tarpaulin, ignore)]
219223
fn test_cli_batch_mode() {
220224
use std::fs;
221225
use std::process::Command;
@@ -248,6 +252,7 @@ fn test_cli_batch_mode() {
248252
}
249253

250254
#[test]
255+
#[cfg_attr(tarpaulin, ignore)]
251256
fn test_cli_with_opcode_range() {
252257
use std::fs;
253258
use std::process::Command;
@@ -275,6 +280,7 @@ fn test_cli_with_opcode_range() {
275280
}
276281

277282
#[test]
283+
#[cfg_attr(tarpaulin, ignore)]
278284
fn test_cli_with_mutators() {
279285
use std::fs;
280286
use std::process::Command;

0 commit comments

Comments
 (0)