mirror of
https://github.com/samba-team/samba.git
synced 2025-11-14 12:23:52 +03:00
r26598: Simplify the way Python tests are run.
This commit is contained in:
committed by
Stefan Metzmacher
parent
fa5d1923ef
commit
d649f73431
@@ -63,6 +63,8 @@ lp = param.LoadParm()
|
||||
if opts.configfile:
|
||||
lp.load(opts.configfile)
|
||||
if opts.targetdir is not None:
|
||||
if not os.path.exists(opts.targetdir):
|
||||
os.mkdir(opts.targetdir)
|
||||
lp.set("private dir", os.path.abspath(opts.targetdir))
|
||||
lp.set("lock dir", os.path.abspath(opts.targetdir))
|
||||
paths = provision_paths_from_lp(lp, "")
|
||||
|
||||
Reference in New Issue
Block a user