Francois Gouget : testbot/build: Tweak Reconfig. pl to automatically create the build-xxx directories.
Alexandre Julliard
julliard at winehq.org
Tue Oct 9 13:03:04 CDT 2012
Module: tools
Branch: master
Commit: 0a22e8ff8ef8e1bf7dc49b37783945d8a54b210d
URL: http://source.winehq.org/git/tools.git/?a=commit;h=0a22e8ff8ef8e1bf7dc49b37783945d8a54b210d
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Fri Oct 5 11:16:21 2012 +0200
testbot/build: Tweak Reconfig.pl to automatically create the build-xxx directories.
---
testbot/bin/Reconfig.pl | 2 ++
testbot/doc/INSTALL.txt | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/testbot/bin/Reconfig.pl b/testbot/bin/Reconfig.pl
index f72ba6c..60018d9 100755
--- a/testbot/bin/Reconfig.pl
+++ b/testbot/bin/Reconfig.pl
@@ -65,6 +65,7 @@ sub GitPull
sub BuildNative
{
+ mkdir "$DataDir/build-native" if (! -d "$DataDir/build-native");
system("cd $DataDir/build-native && " .
"rm -rf * && " .
"../wine-git/configure --enable-win64 --without-x --without-freetype " .
@@ -86,6 +87,7 @@ sub BuildCross
my $Bits = $_[0];
my $Host = ($Bits == 64 ? "x86_64-w64-mingw32" : "i686-pc-mingw32");
+ mkdir "$DataDir/build-mingw$Bits" if (! -d "$DataDir/build-mingw$Bits");
system("cd $DataDir/build-mingw$Bits && " .
"rm -rf * && " .
"../wine-git/configure --host=$Host --with-wine-tools=../build-native " .
diff --git a/testbot/doc/INSTALL.txt b/testbot/doc/INSTALL.txt
index 27c4053..d7c093e 100644
--- a/testbot/doc/INSTALL.txt
+++ b/testbot/doc/INSTALL.txt
@@ -141,6 +141,9 @@ Dependencies:
mkdir $HOME/tools/testbot/var $HOME/tools/testbot/log
chmod g+w $HOME/tools/testbot/var $HOME/tools/testbot/log
- Clone the Wine git repository to $HOME/tools/testbot/var/wine-git.
+- In the winetest account, run Reconfig.pl.
+ Check $HOME/tools/testbot/log/Reconfig.log to make sure it
+ succeeded.
- Take a snapshot of the running VM. Make sure restoring this snapshot
will result in a running build VM.
- Register this VM as a build VM on the web site.
More information about the wine-cvs
mailing list