Instead of hardcoding '.python3' we now hardcode the extra python
exe (which will be python2 for a default python3 build)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
if py3_compatible and extra_python is not None:
# Plan one more test for Python 3 compatible module
args[0] = extra_python
- plantestsuite_loadlist(name + ".python3", env, pypath + args)
+ python_name = os.path.basename(extra_python)
+ plantestsuite_loadlist(name + "." + python_name, env, pypath + args)
def get_env_torture_options():
plantestsuite_loadlist(name, env, args)
if py3_compatible and extra_python is not None:
args[args.index(subunitrun)] = subunitrun3
- plantestsuite_loadlist(name + ".python3", env, args)
+ python_name = os.path.basename(extra_python)
+ plantestsuite_loadlist(name + "." + python_name, env, args)
# Run complex search expressions test once for each database backend.
# Right now ad_dc has mdb and ad_dc_ntvfs has tdb