Module: tools Branch: master Commit: f21d2d15572579292fd924c4c1c162bd56ee87d0 URL: https://source.winehq.org/git/tools.git/?a=commit;h=f21d2d15572579292fd924c4...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Dec 27 12:14:21 2017 +0100
testbot: Add a history record when a task is canceled.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 73fc34e..a2427cc 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"); } } }