summaryrefslogtreecommitdiff
path: root/script/autobuild.py
diff options
context:
space:
mode:
authorThomas Nagy <tnagy@waf.io>2017-04-13 18:46:50 +0200
committerAndrew Bartlett <abartlet@samba.org>2018-09-05 06:37:21 +0200
commit9aa8f2badd660d4ec464d052a0a2ca84387aad88 (patch)
tree85ee1511059997b572b6e1785289738e9ef73ae8 /script/autobuild.py
parent5d99786151a6ed10baa85173c2a4e35a1db76097 (diff)
downloadsamba-9aa8f2badd660d4ec464d052a0a2ca84387aad88.tar.gz
build:wafsamba: detail where we are processing the autobuild
Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script/autobuild.py')
-rwxr-xr-xscript/autobuild.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index fec64094c00..3f1bfd5fbac 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -469,9 +469,9 @@ class builder(object):
self.cmd = self.cmd.replace("${TESTS}", options.restrict_tests)
# if self.output_mime_type == "text/x-subunit":
# self.cmd += " | %s --immediate" % (os.path.join(os.path.dirname(__file__), "selftest/format-subunit"))
- do_print('%s: [%s] Running %s' % (self.name, self.stage, self.cmd))
cwd = os.getcwd()
os.chdir("%s/%s" % (self.sdir, self.dir))
+ do_print('%s: [%s] Running %s in %r' % (self.name, self.stage, self.cmd, os.getcwd()))
self.proc = Popen(self.cmd, shell=True,
close_fds=True,
stdout=self.stdout, stderr=self.stderr, stdin=self.stdin)
@@ -625,7 +625,7 @@ def cleanup():
return
run_cmd("stat %s || true" % test_tmpdir, show=True)
run_cmd("stat %s" % testbase, show=True)
- do_print("Cleaning up ....")
+ do_print("Cleaning up %r" % cleanup_list)
for d in cleanup_list:
run_cmd("rm -rf %s" % d)