mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Added check for assertions or anomalous exits of LyX on TestEnd.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38477 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d4bcdae8d7
commit
25e3d90303
@ -375,6 +375,10 @@ while not failed:
|
||||
print "result=" + str(result) + ", failed=" + str(failed)
|
||||
elif c[0:7] == 'TestEnd':
|
||||
time.sleep(0.5)
|
||||
if not lyx_exists():
|
||||
print "LyX instance not found because of crash or assert !\n"
|
||||
failed = true
|
||||
else:
|
||||
print "Terminating lyx instance: " + str(lyx_pid) + "\n"
|
||||
intr_system("kill -9 " + str(lyx_pid), True);
|
||||
while lyx_exists():
|
||||
|
Loading…
Reference in New Issue
Block a user