Francois Gouget : testbot/WineRunReconfig: Update the build VM' s TestBot checkout.

Alexandre Julliard julliard at winehq.org
Wed Apr 19 09:53:04 CDT 2017


Module: tools
Branch: master
Commit: 6cad11f60de583ac44cb6643f07293f89da2a4f7
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=6cad11f60de583ac44cb6643f07293f89da2a4f7

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Apr 18 10:25:24 2017 +0200

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

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 737d26f..1337320 100755
--- a/testbot/bin/WineRunReconfig.pl
+++ b/testbot/bin/WineRunReconfig.pl
@@ -283,8 +283,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))




More information about the wine-cvs mailing list