Skip to content

Commit

Permalink
fix linux temp channel used during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Aug 20, 2018
1 parent c8c7ce5 commit aee9427
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1771,6 +1771,7 @@ def _construct_metadata_for_test_from_package(package, config):
# HACK: because the recipe is fully baked, detecting "used" variables no longer works. The set
# of variables in the hash_input suffices, though.
metadata.config.used_vars = list(hash_input.keys())
metadata.config.channel_urls = list(metadata.config.channel_urls).insert(0, url_path(local_channel))
return metadata, hash_input


Expand Down Expand Up @@ -1938,6 +1939,7 @@ def test(recipedir_or_package_or_metadata, config, stats, move_broken=True):
else metadata.config.host_subdir)
# ensure that the test prefix isn't kept between variants
utils.rm_rf(metadata.config.test_prefix)

try:
actions = environ.get_install_actions(metadata.config.test_prefix,
tuple(specs), 'host',
Expand Down

0 comments on commit aee9427

Please sign in to comment.