Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-write flag values to place generated files in undeclared outputs d…
…ir (#7) Some common pytest plugins, such as pytest-reportlog, pytest-json-report and pytest-html, allow the user to generate reports, accepting a file path as a flag. In Bazel, these generated files can only be accessed if placed inside the test undeclared outputs dir. However, bazel doesn't provide any way to expand environment variable values provided in args. This commit rewrites flag values for the plugins mentioned above, prepend the test undeclared output dir folder to the value of the corresponding flags.
- Loading branch information