forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specification of extra env vars for junit_tests runs.
I added an `extra_env_vars` parameter to junit_tests in much the same way that apaulin previously added extra_jvm_options previously in https://rbcommons.com/s/twitter/r/3140. I cleaned up code in junit_run.py a little (partitioning the tests by workdir, platform, jvm options, and env vars can all easily be handled by the existing functionality of _tests_by_properties() just by passing a couple extra parameters). Testing Done: Tests added to test_junit_run.py. CI went green here: https://travis-ci.org/pantsbuild/pants/builds/97500339 Bugs closed: 2382, 2736 Reviewed at https://rbcommons.com/s/twitter/r/3267/
- Loading branch information
1 parent
975c6c0
commit 7fddcc5
Showing
4 changed files
with
123 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters