Firstly, after some years with bazel I have just come across this repo from a stackoverflow comment. Really cool stuff, it was just what we were missing. Thanks!
It would be really helpful if there was a way to substitute existing envvars (passed via bazel --test_env could be substituted into the itest env maps. This is now the only reason that we need to run batch scripts before running bazel test. For example:
env = {
"PATH": "$(PATH);/extra"
"TEST_DATA" = "$(ROOT)/subdir"
}
It would be further cool if there was a way to provide a canned substitution that pointed to the workspace root.
Thanks!
Chris
Firstly, after some years with bazel I have just come across this repo from a stackoverflow comment. Really cool stuff, it was just what we were missing. Thanks!
It would be really helpful if there was a way to substitute existing envvars (passed via bazel --test_env could be substituted into the itest env maps. This is now the only reason that we need to run batch scripts before running bazel test. For example:
env = {
"PATH": "$(PATH);/extra"
"TEST_DATA" = "$(ROOT)/subdir"
}
It would be further cool if there was a way to provide a canned substitution that pointed to the workspace root.
Thanks!
Chris