On 17/04/2017 11:59, Kornel Benko wrote:
I think that is because of missing flush of stderr. \Ax gives more output and that saves us.
weird: when you << endl, it should auto-flush, but sometimes that behavior is disabled when redirecting to a file. Also, in such case the standard prescribes flushing on program termination. And, anyway, when doing Alt-x, we don't write anything, given the "-dbg find". Perhaps the issue is just that we terminate LyX with "kill -9" in keytest.py [1]. Would you please try replacing that "-9" with "-SIGQUIT" or similar, and see what happens ? (after rolling back the \Ax, which, from what I'm suspecting, are just adding some extra time before the kill -- probably I had this issue as well, because that "sleep(0.5)" I'm seeing below is also equally suspicious :-), but who remembers... Thx, T. [1] 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(): print "Waiting for lyx to die...\n" time.sleep(0.5)
Now also boost-regex tests passed. Kornel