summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2019-05-06 15:14:43 +1200
committerAndrew Bartlett <abartlet@samba.org>2019-05-10 08:19:17 +0000
commit0cdd8bd6e1d531f0ee12f2f8124d7cc61184c633 (patch)
tree2212d2dc719950adf2425ae4bca15954765dc458 /script
parent87ea55e43662d95a430856e2584c172c689dcaf5 (diff)
downloadsamba-0cdd8bd6e1d531f0ee12f2f8124d7cc61184c633.tar.gz
script/autobuild.py: replace more placeholders in cmds for coverage
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 9cc29fff378..7e7a4951df2 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -678,6 +678,10 @@ class builder(object):
self.cmd = self.cmd.replace("${PREFIX}", "--prefix=%s" % self.prefix)
self.cmd = self.cmd.replace("${PREFIX_DIR}", "%s" % self.prefix)
self.cmd = self.cmd.replace("${TESTS}", options.restrict_tests)
+ self.cmd = self.cmd.replace("${TEST_SOURCE_DIR}", self.test_source_dir)
+ self.cmd = self.cmd.replace("${LOG_BASE}", options.log_base)
+ self.cmd = self.cmd.replace("${NAME}", self.name)
+ self.cmd = self.cmd.replace("${ENABLE_COVERAGE}", options.enable_coverage)
# if self.output_mime_type == "text/x-subunit":
# self.cmd += " | %s --immediate" % (os.path.join(os.path.dirname(__file__), "selftest/format-subunit"))
cwd = os.getcwd()