mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
PY3: In a pure PY3 build filter-subunit was getting called without 'python'
tests were getting called with "| ${src}/selftest/filter-subunit" which resulted in filter-subunit getting execve'd without a calling python. This resulted in /usr/bin/python (default python) getting called and subsequent imports failing.
This commit is contained in:
parent
dcf787b263
commit
e538217930
@ -92,7 +92,7 @@ def add_prefix(prefix, env, support_list=False):
|
||||
listopt = "$LISTOPT "
|
||||
else:
|
||||
listopt = ""
|
||||
return "%s/selftest/filter-subunit %s--fail-on-empty --prefix=\"%s.\" --suffix=\"(%s)\"" % (srcdir(), listopt, prefix, env)
|
||||
return "%s %s/selftest/filter-subunit %s--fail-on-empty --prefix=\"%s.\" --suffix=\"(%s)\"" % (python, srcdir(), listopt, prefix, env)
|
||||
|
||||
|
||||
def plantestsuite_loadlist(name, env, cmdline):
|
||||
|
Loading…
x
Reference in New Issue
Block a user