[Tools] testbot/WineRunReconfig: Update the build VM's TestBot checkout.

Francois Gouget fgouget at codeweavers.com
Tue Apr 18 03:25:24 CDT 2017


This way the build VM gets not only a fresh Wine but also up-to-date
TestBot tools and scripts.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineRunReconfig.pl | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/testbot/bin/WineRunReconfig.pl b/testbot/bin/WineRunReconfig.pl
index 9a028b8b..eae20eca 100755
--- a/testbot/bin/WineRunReconfig.pl
+++ b/testbot/bin/WineRunReconfig.pl
@@ -315,8 +315,10 @@ elsif ($Debug and !$VM->IsPoweredOn)
 #
 
 my $Script = "#!/bin/sh\n" .
-             "rm -f Reconfig.log\n" .
-             "../bin/build/Reconfig.pl >>Reconfig.log 2>&1\n";
+             "(" .
+             "  git pull &&\n" .
+             "  ../bin/build/Reconfig.pl\n" .
+             ") >Reconfig.log 2>&1\n";
 my $TA = $VM->GetAgent();
 Debug(Elapsed($Start), " Sending the script: [$Script]\n");
 if (!$TA->SendFileFromString($Script, "task", $TestAgent::SENDFILE_EXE))
-- 
2.11.0



More information about the wine-patches mailing list