Add property to control GTK version used in SWTBot tests
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Thu, 26 Mar 2015 19:09:11 +0000 (15:09 -0400)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Thu, 2 Apr 2015 20:50:40 +0000 (16:50 -0400)
This will allow test builds for GTK3.

Change-Id: I70bed507ce47fc8cc907df84a252b0fde195b77d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/44709
Reviewed-by: Hudson CI
org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests/pom.xml
org.eclipse.tracecompass.tmf.ctf.ui.swtbot.tests/pom.xml
org.eclipse.tracecompass.tmf.pcap.ui.swtbot.tests/pom.xml
org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests/pom.xml
org.eclipse.tracecompass.tmf.ui.swtbot.tests/pom.xml
pom.xml

index cee65fbb0da8c18f249c26bb9246d8cd3e9309b5..225bc439a33cd414ec6c572a937c9fc403c60e00 100644 (file)
@@ -38,9 +38,8 @@
           <useUIThread>false</useUIThread>
           <argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine>
           <product>org.eclipse.platform.ide</product>
-<!-- Disable GTK3 with Luna because it makes the test hang (bug in IcedTea http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736) -->
           <environmentVariables>
-            <SWT_GTK3>0</SWT_GTK3>
+            <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
           </environmentVariables>
         </configuration>
       </plugin>
index d06ead4262bbee2913b86c7c2256ea2863c55b61..820351c70dbdf3dc76005d074a0746990df09d97 100644 (file)
@@ -38,9 +38,8 @@
           <useUIThread>false</useUIThread>
           <argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine>
           <product>org.eclipse.platform.ide</product>
-<!-- Disable GTK3 with Luna because it makes the test hang (bug in IcedTea http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736) -->
           <environmentVariables>
-            <SWT_GTK3>0</SWT_GTK3>
+            <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
           </environmentVariables>
         </configuration>
       </plugin>
index 8a4c8b842023a7f73e27475f8d6c046966199bbd..7bd6284ae3667b8cc64518d9c7a1af0cd934da70 100644 (file)
@@ -38,9 +38,8 @@
           <useUIThread>false</useUIThread>
           <argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine>
           <product>org.eclipse.platform.ide</product>
-<!-- Disable GTK3 with Luna because it makes the test hang (bug in IcedTea http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736) -->
           <environmentVariables>
-            <SWT_GTK3>0</SWT_GTK3>
+            <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
           </environmentVariables>
         </configuration>
       </plugin>
index 545987e73a4c52dfcc4b22d617c39734dfe0e817..b82b12bcc1ec926074d45366e1d77ecfc0e14df5 100644 (file)
@@ -38,9 +38,8 @@
           <useUIThread>false</useUIThread>
           <argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine>
           <product>org.eclipse.platform.ide</product>
-<!-- Disable GTK3 with Luna because it makes the test hang (bug in IcedTea http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736) -->
           <environmentVariables>
-            <SWT_GTK3>0</SWT_GTK3>
+            <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
           </environmentVariables>
         </configuration>
       </plugin>
index 27043549bd1c7de145bf545ba333806cdc1281bc..aaa2fb6c58be0eff9836af1ee07d0d6d8ad8d6cd 100644 (file)
@@ -38,9 +38,8 @@
           <useUIThread>false</useUIThread>
           <argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine>
           <product>org.eclipse.platform.ide</product>
-<!-- Disable GTK3 with Luna because it makes the test hang (bug in IcedTea http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736) -->
           <environmentVariables>
-            <SWT_GTK3>0</SWT_GTK3>
+            <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
           </environmentVariables>
         </configuration>
       </plugin>
diff --git a/pom.xml b/pom.xml
index 84d0ea0080ff01b306386b4789c67691c3ed8d4d..c319d56d803a1a7d4f0a92b13b3c17104598176d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -49,6 +49,8 @@
   <sonar.java.source>1.7</sonar.java.source>
   <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.4</help-docs-eclipserun-repo>
+  <!-- Disable GTK3 because it's not quite usable yet and it can make the tests hang (bug in IcedTea http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736) -->
+  <SWT_GTK3>0</SWT_GTK3>
 </properties>
 
 <pluginRepositories>
This page took 0.030598 seconds and 5 git commands to generate.