Skip to content
Snippets Groups Projects
Commit edf69644 authored by Peter Barker's avatar Peter Barker
Browse files

Tools: autotest: emit lockfile name in case of contention

For those of us who want to remove the lockfile and can
never remember where it lives
parent 36ea946c
No related branches found
No related tags found
No related merge requests found
......@@ -499,9 +499,10 @@ def run_tests(steps):
util.mkdir_p(util.reltopdir('../buildlogs'))
lck = util.lock_file(util.reltopdir('../buildlogs/autotest.lck'))
lckfile = util.reltopdir('../buildlogs/autotest.lck')
lck = util.lock_file(lckfile)
if lck is None:
print("autotest is locked - exiting")
print("autotest is locked - exiting. lckfile=(%s)" % (lckfile,))
sys.exit(0)
atexit.register(util.pexpect_close_all)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment