Module: tools
Branch: master
Commit: fe1b5e549739ab55161669acb7c98c36195bd799
URL: http://source.winehq.org/git/tools.git/?a=commit;h=fe1b5e549739ab55161669ac…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri Aug 31 17:19:20 2012 +0200
testbot/src: Fix the GenFixEnv and TestLauncher purpose documentation statement.
---
testbot/src/GenFixEnv/GenFixEnv.c | 4 +++-
testbot/src/TestLauncher/TestLauncher.c | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/testbot/src/GenFixEnv/GenFixEnv.c b/testbot/src/GenFixEnv/GenFixEnv.c
index 5c5bdb7..f2d4c0f 100644
--- a/testbot/src/GenFixEnv/GenFixEnv.c
+++ b/testbot/src/GenFixEnv/GenFixEnv.c
@@ -1,5 +1,7 @@
/*
- * GenFixEnv.cpp : Defines the entry point for the console application.
+ * Generates a batch file that sets up the environment.
+ * This can be used in case the mechanism for running a process in the VM
+ * does not properly set up the environment for the currently logged in user.
*
* Copyright 2009 Ge van Geldorp
*
diff --git a/testbot/src/TestLauncher/TestLauncher.c b/testbot/src/TestLauncher/TestLauncher.c
index 973df04..855b773 100644
--- a/testbot/src/TestLauncher/TestLauncher.c
+++ b/testbot/src/TestLauncher/TestLauncher.c
@@ -1,5 +1,5 @@
/*
- * TestLauncher.cpp : Defines the entry point for the console application.
+ * Verifies that the dlls needed for the test are present.
*
* Copyright 2009 Ge van Geldorp
*
Module: tools
Branch: master
Commit: 34cd98d673174ddd64b8b9591a1b0187cb4851b6
URL: http://source.winehq.org/git/tools.git/?a=commit;h=34cd98d673174ddd64b8b959…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri Aug 31 17:19:00 2012 +0200
testbot/VMs: Put the default type and status values first.
This way these will be the default in both MySQL and the GUI. New VMs
are usually added as 'extra' and get promoted to 'base' when they have
been tested. They should also initially be in the 'dirty' state so
WineTestBot knows to put them it a clean state before using them.
---
testbot/ddl/winetestbot.sql | 4 ++--
testbot/lib/WineTestBot/VMs.pm | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/testbot/ddl/winetestbot.sql b/testbot/ddl/winetestbot.sql
index 5e59321..5f885c4 100644
--- a/testbot/ddl/winetestbot.sql
+++ b/testbot/ddl/winetestbot.sql
@@ -45,10 +45,10 @@ ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE VMs
(
Name VARCHAR(20) NOT NULL,
- Type ENUM('base', 'extra', 'build', 'retired') NOT NULL,
+ Type ENUM('extra', 'base', 'build', 'retired') NOT NULL,
SortOrder INT(3) NOT NULL,
Bits ENUM('32', '64') NOT NULL,
- Status ENUM('reverting', 'sleeping', 'idle', 'running', 'dirty', 'offline') NOT NULL,
+ Status ENUM('dirty', 'reverting', 'sleeping', 'idle', 'running', 'offline') NOT NULL,
VmxHost VARCHAR(64) NULL,
VmxFilePath VARCHAR(64) NOT NULL,
IdleSnapshot VARCHAR(32) NOT NULL,
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index 6e1145e..ef03889 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -558,10 +558,10 @@ BEGIN
{
@PropertyDescriptors = (
CreateBasicPropertyDescriptor("Name", "VM name", 1, 1, "A", 20),
- CreateEnumPropertyDescriptor("Type", "Type of VM", !1, 1, ['base', 'extra', 'build', 'retired']),
+ CreateEnumPropertyDescriptor("Type", "Type of VM", !1, 1, ['extra', 'base', 'build', 'retired']),
CreateBasicPropertyDescriptor("SortOrder", "Display order", !1, 1, "N", 3),
CreateEnumPropertyDescriptor("Bits", "32 or 64 bits", !1, 1, ['32', '64']),
- CreateEnumPropertyDescriptor("Status", "Current status", !1, 1, ['idle', 'reverting', 'sleeping', 'running', 'dirty', 'offline']),
+ CreateEnumPropertyDescriptor("Status", "Current status", !1, 1, ['dirty', 'reverting', 'sleeping', 'idle', 'running', 'offline']),
CreateBasicPropertyDescriptor("VmxHost", "Host where VM is located", !1, !1, "A", 64),
CreateBasicPropertyDescriptor("VmxFilePath", "Path to .vmx file", !1, 1, "A", 64),
CreateBasicPropertyDescriptor("IdleSnapshot", "Name of idle snapshot", !1, 1, "A", 32),
Module: tools
Branch: master
Commit: 0a1c694864960d69355fb98b7a755ce0cf5de44f
URL: http://source.winehq.org/git/tools.git/?a=commit;h=0a1c694864960d69355fb98b…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri Aug 31 17:18:07 2012 +0200
testbot/lib: Add an EnumPropertyDescriptor class for enum properties.
This lets us display the right options in the web interface, thus
avoiding the risk of incorrect entry. This also lets us validate the
values before trying to store them in the database. In particular this
avoids silently dropping an incorrect 'Type' value when modifying a
VM.
---
testbot/lib/ObjectModel/CGI/FormPage.pm | 18 +++++
testbot/lib/ObjectModel/CGI/ItemPage.pm | 4 +-
testbot/lib/ObjectModel/EnumPropertyDescriptor.pm | 86 +++++++++++++++++++++
testbot/lib/ObjectModel/Item.pm | 4 +-
testbot/lib/WineTestBot/Jobs.pm | 4 +-
testbot/lib/WineTestBot/Steps.pm | 8 +-
testbot/lib/WineTestBot/Tasks.pm | 4 +-
testbot/lib/WineTestBot/VMs.pm | 8 +-
testbot/web/admin/VMDetails.pl | 26 +------
9 files changed, 127 insertions(+), 35 deletions(-)
Diff: http://source.winehq.org/git/tools.git/?a=commitdiff;h=0a1c694864960d69355f…