Commit c1b17eda authored by Ximin Luo's avatar Ximin Luo

Flush so subprocess output is guaranteed to appear later

Also rm bogus PATH addition, added by accident
parent 570084bd
......@@ -10,5 +10,5 @@ override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# FIXME: The patch from #838663 is also required for this to work on pbuilder
TOX_TESTENV_PASSENV=PYTHONIOENCODING PYTHONIOENCODING=utf-8 \
REPROTEST_TEST_SERVERS=null PATH=$$PWD/debian:$$PATH tox -r --sitepackages -- -s
REPROTEST_TEST_SERVERS=null tox -r --sitepackages -- -s
endif
......@@ -365,7 +365,7 @@ def check(build_command, artifact_pattern, virtual_server_args, source_root,
print("=======================")
print("Reproduction successful")
print("=======================")
print("No differences in %s" % artifact_pattern)
print("No differences in %s" % artifact_pattern, flush=True)
subprocess.call(['find', '.', '-type', 'f', '-exec', 'sha256sum', '{}', ';'], cwd=result.control)
else:
# a slight hack, to trigger no_clean_on_error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment