Browse Source

* write a message to stdout if dosbox is killed due to a timeout

git-svn-id: trunk@32678 -
nickysn 9 năm trước cách đây
mục cha
commit
6f490cc6b3
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      tests/utils/dosbox/dosbox_wrapper.pas

+ 3 - 0
tests/utils/dosbox/dosbox_wrapper.pas

@@ -177,7 +177,10 @@ begin
       Sleep(100);
     until not Process.Running;
     if Process.Running then
+    begin
+      Writeln('Timeout exceeded. Killing dosbox...');
       Process.Terminate(254);
+    end;
   finally
     Process.Free;
     EchoOutput;