소스 검색

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

git-svn-id: trunk@32678 -
nickysn 9 년 전
부모
커밋
6f490cc6b3
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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;