[PATCH] testbot: Add a history record when a task is canceled.

Francois Gouget fgouget at codeweavers.com
Wed Dec 27 05:14:21 CST 2017


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/lib/WineTestBot/Jobs.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testbot/lib/WineTestBot/Jobs.pm b/testbot/lib/WineTestBot/Jobs.pm
index 73fc34eb..a2427cc9 100644
--- a/testbot/lib/WineTestBot/Jobs.pm
+++ b/testbot/lib/WineTestBot/Jobs.pm
@@ -258,6 +258,7 @@ sub Cancel($)
         $VM->KillChild();
         ($EProperty, $EMessage) = $VM->Save();
         $ErrMessage ||= "$EMessage ($EProperty)" if ($EMessage);
+        $VM->RecordResult(undef, "canceled");
       }
     }
   }
-- 
2.15.1




More information about the wine-devel mailing list