Disable overlay scrollbars when running tests to prevent crash
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Wed, 16 Dec 2015 03:35:31 +0000 (22:35 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Wed, 16 Dec 2015 15:41:44 +0000 (10:41 -0500)
When running tests, the Eclipse launcher is not used which means
that the code that usually disables the overlay scrollbars is not
executed. The overlay scrollbars under GTK2 are unstable and can
cause crash. Specifically, a crash was frequently seen in
tmf.ui.swtbot.tests on Ubuntu.

Change-Id: I130d7fd95affa4f7eb68d2c2d1e0b0134e84ee07
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/62780
Reviewed-by: Hudson CI
Reviewed-by: Francis Giraldeau <francis.giraldeau@gmail.com>
analysis/org.eclipse.tracecompass.analysis.os.linux.ui.swtbot.tests/pom.xml
ctf/org.eclipse.tracecompass.tmf.ctf.ui.swtbot.tests/pom.xml
lttng/org.eclipse.tracecompass.lttng2.control.ui.swtbot.tests/pom.xml
lttng/org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests/pom.xml
lttng/org.eclipse.tracecompass.lttng2.ust.ui.swtbot.tests/pom.xml
pcap/org.eclipse.tracecompass.tmf.pcap.ui.swtbot.tests/pom.xml
releng/org.eclipse.tracecompass.alltests/pom.xml
tmf/org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests/pom.xml
tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/pom.xml

index fe632795752bf24076850cbe98b0dce8afbd5480..4a9543497ff1d01b7e7583ecb7097b87be63950d 100644 (file)
@@ -38,6 +38,7 @@
           <product>org.eclipse.platform.ide</product>
           <environmentVariables>
             <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
+            <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
           </environmentVariables>
         </configuration>
       </plugin>
index 01cd956236e2e0e0373c0422ecc76813c8bf46cb..156778c5db618b82e4409d670cb69d8ad0c308e9 100644 (file)
@@ -39,6 +39,7 @@
           <product>org.eclipse.platform.ide</product>
           <environmentVariables>
             <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
+            <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
           </environmentVariables>
         </configuration>
       </plugin>
index b6c1a14047f767d82ae6c3c1bb6dcb6194d55fdb..d875112fe3a9661af6a7169ac25a31148a7a298a 100644 (file)
@@ -41,6 +41,7 @@
 <!-- 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>${SWT_GTK3}</SWT_GTK3>
+            <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
           </environmentVariables>
         </configuration>
       </plugin>
index 5c39676521080f09908f75f5e0db2b8eb7b73261..d92640e063791eb1a56153478efe0c7738d26551 100644 (file)
@@ -39,6 +39,7 @@
           <product>org.eclipse.platform.ide</product>
           <environmentVariables>
             <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
+            <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
           </environmentVariables>
         </configuration>
       </plugin>
index ad709a064e76342093d4cd9425628e6f8f9e6eb7..e9d48341824d1d395989b6361579c7cb45126bc3 100644 (file)
@@ -41,6 +41,7 @@
 <!-- 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>${SWT_GTK3}</SWT_GTK3>
+            <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
           </environmentVariables>
         </configuration>
       </plugin>
index 31c6cafa30b5d6c3385f120575967a623b402a39..98b6fdcbc25681ac08ae1f143a5276fab60a482c 100644 (file)
@@ -39,6 +39,7 @@
           <product>org.eclipse.platform.ide</product>
           <environmentVariables>
             <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
+            <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
           </environmentVariables>
         </configuration>
       </plugin>
index 605e48da7bdcb7444e0b4b18741583fd89473b0e..83fc706f6e47c1f608e8103c48eda6ffee57dc4d 100644 (file)
@@ -66,6 +66,7 @@
               <product>org.eclipse.platform.ide</product>
               <environmentVariables>
                 <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
+                <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
               </environmentVariables>
             </configuration>
           </plugin>
index f90db8daef544d34381a37a5025e539bc4e51dc6..c1e0d994102ec045104829eef64cd602abc1305e 100644 (file)
@@ -39,6 +39,7 @@
           <product>org.eclipse.platform.ide</product>
           <environmentVariables>
             <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
+            <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
           </environmentVariables>
         </configuration>
       </plugin>
index eededa346297da86211c8fe63434d06d0c0acc31..4394cbeebfddd94d3ed2a828c5561d75a51558b6 100644 (file)
@@ -39,6 +39,7 @@
           <product>org.eclipse.platform.ide</product>
           <environmentVariables>
             <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
+            <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
           </environmentVariables>
         </configuration>
       </plugin>
This page took 0.04568 seconds and 5 git commands to generate.