Skip to content

Commit

Permalink
Fixing incorrect path to gnuplot graph
Browse files Browse the repository at this point in the history
  • Loading branch information
bazhenov committed Sep 17, 2024
1 parent 6b084ea commit 0da1bf5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ harness = false
name = "tango-faster"
harness = false

[[bench]]
name = "tango-slower"
harness = false

[[bench]]
name = "tango-async"
harness = false
Expand Down
10 changes: 7 additions & 3 deletions tango-bench/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -762,10 +762,14 @@ mod paired_test {

for input in sample_dumps {
let csv_input = input.to_str().unwrap();
let svg_path = path.join(input.with_extension("svg"));
let svg_path = svg_path.to_str().unwrap();
let svg_path = input.with_extension("svg");
let cmd = Command::new("gnuplot")
.args(["-c", gnuplot_file_str, csv_input, svg_path])
.args([
"-c",
gnuplot_file_str,
csv_input,
svg_path.to_str().unwrap(),
])
.stdin(Stdio::null())
.stdout(Stdio::inherit())
.stderr(Stdio::inherit())
Expand Down

0 comments on commit 0da1bf5

Please sign in to comment.