autotest: precreate buildlogs directory

This commit is contained in:
Andrew Tridgell 2013-04-14 17:16:30 +10:00
parent 78538d0543
commit 13e6aaf682

View File

@ -384,6 +384,8 @@ def run_tests(steps):
return passed
util.mkdir_p(util.reltopdir('../buildlogs'))
lck = util.lock_file(util.reltopdir('../buildlogs/autotest.lck'))
if lck is None:
print("autotest is locked - exiting")