Francois Gouget : testbot/WineRunReconfig: Update the build VM' s TestBot checkout.
Module: tools Branch: master Commit: 6cad11f60de583ac44cb6643f07293f89da2a4f7 URL: http://source.winehq.org/git/tools.git/?a=commit;h=6cad11f60de583ac44cb6643f... Author: Francois Gouget <fgouget(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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))
participants (1)
-
Alexandre Julliard