Skip to content

Commit

Permalink
Kill un-needed dependencies on the now-unused `PANTS_NATIVE_ENGINE_VE…
Browse files Browse the repository at this point in the history
…RSION`.
  • Loading branch information
jsirois committed Nov 11, 2016
1 parent 30ddf40 commit 51bcc81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions tests/python/pants_test/engine/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@


def init_native():
"""Retrieve the native engine from the environment, where it is placed by the `./pants` script."""
version = os.getenv('PANTS_NATIVE_ENGINE_VERSION')
init_subsystem(Native.Factory, options={'native-engine': {'version': version}})
"""Initialize and return the `Native` subsystem."""
init_subsystem(Native.Factory)
return Native.Factory.global_instance().create()
2 changes: 0 additions & 2 deletions tests/python/pants_test/pants_run_integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ def hermetic(cls):
def hermetic_env_whitelist(cls):
"""A whitelist of environment variables to propagate to tests when hermetic=True."""
return [
# Set by the wrapper script in the repo to allow for running from source.
'PANTS_NATIVE_ENGINE_VERSION',
# Used in the wrapper script to locate a rust install.
'HOME',
]
Expand Down

0 comments on commit 51bcc81

Please sign in to comment.