We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
integration_maze
1 parent 021ed32 commit 729399dCopy full SHA for 729399d
cargo-afl/tests/integration.rs
@@ -1,8 +1,13 @@
1
use std::{
2
+ io::Write,
3
path,
4
process::{self, ExitStatus},
5
};
6
7
+#[allow(dead_code)]
8
+#[path = "../src/common.rs"]
9
+mod common;
10
+
11
fn target_dir_path() -> &'static path::Path {
12
if path::Path::new("../target/debug/cargo-afl").exists() {
13
path::Path::new("../target/debug/")
@@ -56,6 +61,15 @@ fn integration_cfg() {
56
61
57
62
#[test]
58
63
fn integration_maze() {
64
+ if !common::plugins_available().unwrap_or_default() {
65
+ writeln!(
66
+ std::io::stderr(),
67
+ "Skipping `integration_maze` test as plugins are unavailable"
68
+ )
69
+ .unwrap();
70
+ return;
71
+ }
72
59
73
assert_cmd::Command::new(cargo_afl_path())
60
74
.arg("afl")
75
.arg("build")
0 commit comments