bench-api: Pass in explicit stdin/stdout/stderr

Instead of inheriting stdio, pass in explicit file paths that are opened for
reading (stdin) or writing (stderr/stdout). This will allow sightglass to assert
that benchmarks produce the expected output.
This commit is contained in:
Nick Fitzgerald
2021-05-24 15:12:32 -07:00
parent 13741284b3
commit ba6635dba0
2 changed files with 115 additions and 9 deletions

2
crates/bench-api/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
stdout.log
stderr.log