[Reproducible-commits] [reprotest] 01/02: Fix environmental variables
Ceridwen
ceridwen-guest at moszumanska.debian.org
Sat Jun 25 14:31:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
ceridwen-guest pushed a commit to branch virtualization
in repository reprotest.
commit 9ccba84c73c658e5a231329de263cd5002a60701
Author: Ceridwen <ceridwenv at gmail.com>
Date: Sat Jun 25 10:07:32 2016 -0400
Fix environmental variables
---
reprotest/__init__.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/reprotest/__init__.py b/reprotest/__init__.py
index 073dbdf..94ded07 100644
--- a/reprotest/__init__.py
+++ b/reprotest/__init__.py
@@ -90,7 +90,7 @@ def fileordering(command, env, tree, builder):
@contextlib.contextmanager
def home(command, env, tree, builder):
- control = add(env.experiment, 'HOME', '/nonexistent/first-build')
+ control = add(env.control, 'HOME', '/nonexistent/first-build')
experiment = add(env.experiment, 'HOME', '/nonexistent/second-build')
yield command, Pair(control, experiment), tree
@@ -149,7 +149,7 @@ def timezone(command, env, tree, builder):
# These time zones are theoretically in the POSIX time zone format
# (http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08),
# so they should be cross-platform compatible.
- control = add(env.experiment, 'TZ', 'GMT+12')
+ control = add(env.control, 'TZ', 'GMT+12')
experiment = add(env.experiment, 'TZ', 'GMT-14')
yield command, Pair(control, experiment), tree
@@ -217,6 +217,7 @@ def check(build_command, artifact_name, virtual_server_args, source_root,
# I would prefer to use pathlib here but
# .resolve(), to eliminate ../ references, doesn't
# work on nonexistent paths.
+ # print(env)
build(command.control, tree.control,
os.path.normpath(tree.control + artifact_name),
builder,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git
More information about the Reproducible-commits
mailing list