keytest.py: do not print the same thing twice

keytest.py now only prints one time the command that it is executing for
an assert. The command is already printed in the function responsible
for executing it, so it is not necessary to print the command before
calling that function.
This commit is contained in:
Scott Kostyshak 2013-02-04 03:06:08 -05:00
parent e8b5736844
commit e609787a0f

View File

@ -384,7 +384,6 @@ while not failed:
sendKeystring(ResetCommand, lyx_pid) sendKeystring(ResetCommand, lyx_pid)
elif c[0:6] == 'Assert': elif c[0:6] == 'Assert':
cmd = c[7:].rstrip() cmd = c[7:].rstrip()
print "Executing " + cmd
result = intr_system(cmd) result = intr_system(cmd)
failed = failed or (result != 0) failed = failed or (result != 0)
print "result=" + str(result) + ", failed=" + str(failed) print "result=" + str(result) + ", failed=" + str(failed)