[2/3] testbot: The VM's Interactive flag is unused so remove it.

Francois Gouget fgouget at codeweavers.com
Tue Oct 23 11:58:00 CDT 2012


It was used to access VMware's VMs through VIX so it's not relevant 
anymore.
---

 testbot/ddl/update17.sql           |    4 ++++
 testbot/ddl/winetestbot.sql        |    1 -
 testbot/doc/winetestbot-schema.dia |   24 ++----------------------
 testbot/lib/WineTestBot/VMs.pm     |    1 -
 4 files changed, 6 insertions(+), 24 deletions(-)
 create mode 100644 testbot/ddl/update17.sql

diff --git a/testbot/ddl/update17.sql b/testbot/ddl/update17.sql
new file mode 100644
index 0000000..9789685
--- /dev/null
+++ b/testbot/ddl/update17.sql
@@ -0,0 +1,4 @@
+USE winetestbot;
+
+ALTER TABLE VMs
+  DROP Interactive;
diff --git a/testbot/ddl/winetestbot.sql b/testbot/ddl/winetestbot.sql
index daa0ed6..b0a4f02 100644
--- a/testbot/ddl/winetestbot.sql
+++ b/testbot/ddl/winetestbot.sql
@@ -53,7 +53,6 @@ CREATE TABLE VMs
   VirtDomain   VARCHAR(32)      NOT NULL,
   IdleSnapshot VARCHAR(32)      NOT NULL,
   Hostname     VARCHAR(64)      NOT NULL,
-  Interactive  ENUM('Y', 'N')   NOT NULL,
   Description  VARCHAR(40)      NULL,
   PRIMARY KEY (Name)
 )
diff --git a/testbot/doc/winetestbot-schema.dia b/testbot/doc/winetestbot-schema.dia
index 043c1af..b8ae1a9 100644
--- a/testbot/doc/winetestbot-schema.dia
+++ b/testbot/doc/winetestbot-schema.dia
@@ -2088,7 +2088,7 @@
         <dia:point val="25.6708,-2.02919"/>
       </dia:attribute>
       <dia:attribute name="obj_bb">
-        <dia:rectangle val="25.6708,-2.02919;35.8258,8.17081"/>
+        <dia:rectangle val="25.6708,-2.02919;35.8258,7.37081"/>
       </dia:attribute>
       <dia:attribute name="meta">
         <dia:composite type="dict"/>
@@ -2100,7 +2100,7 @@
         <dia:real val="10.155000000000001"/>
       </dia:attribute>
       <dia:attribute name="elem_height">
-        <dia:real val="10.199999999999999"/>
+        <dia:real val="9.3999999999999986"/>
       </dia:attribute>
       <dia:attribute name="text_colour">
         <dia:color val="#000000"/>
@@ -2333,26 +2333,6 @@
         </dia:composite>
         <dia:composite type="table_attribute">
           <dia:attribute name="name">
-            <dia:string>#Interactive#</dia:string>
-          </dia:attribute>
-          <dia:attribute name="type">
-            <dia:string>#BOOL#</dia:string>
-          </dia:attribute>
-          <dia:attribute name="comment">
-            <dia:string>##</dia:string>
-          </dia:attribute>
-          <dia:attribute name="primary_key">
-            <dia:boolean val="false"/>
-          </dia:attribute>
-          <dia:attribute name="nullable">
-            <dia:boolean val="false"/>
-          </dia:attribute>
-          <dia:attribute name="unique">
-            <dia:boolean val="false"/>
-          </dia:attribute>
-        </dia:composite>
-        <dia:composite type="table_attribute">
-          <dia:attribute name="name">
             <dia:string>#Description#</dia:string>
           </dia:attribute>
           <dia:attribute name="type">
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index 84d3fe8..45ff555 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -538,7 +538,6 @@ BEGIN
     CreateBasicPropertyDescriptor("VirtDomain", "LibVirt Domain for the VM", !1, 1, "A", 32),
     CreateBasicPropertyDescriptor("IdleSnapshot", "Name of idle snapshot", !1, 1, "A", 32),
     CreateBasicPropertyDescriptor("Hostname", "The VM hostname", !1, 1, "A", 64),
-    CreateBasicPropertyDescriptor("Interactive", "Needs interactive flag", !1, 1, "B", 1),
     CreateBasicPropertyDescriptor("Description", "Description", !1, !1, "A", 40),
   );
 }
-- 
1.7.10.4




More information about the wine-patches mailing list