Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix linux temp channel used during testing #3088

Merged
merged 1 commit into from
Aug 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions conda_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1771,6 +1771,8 @@ 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(utils.ensure_list(metadata.config.channel_urls))
metadata.config.channel_urls.insert(0, url_path(local_channel))
return metadata, hash_input


Expand Down Expand Up @@ -1938,6 +1940,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