version 1.4w10UCIb17
[polyglot.git] / epd.cpp
diff --git a/epd.cpp b/epd.cpp
index 18c5190..70537da 100644 (file)
--- a/epd.cpp
+++ b/epd.cpp
@@ -241,7 +241,7 @@ static void epd_test_file(const char file_name[]) {
 \r
       // parse engine output\r
 \r
-      while (engine_step()) {\r
+      while (!engine_eof(Engine) && engine_step()) {\r
           bool stop=false;\r
          // stop search?\r
 \r