diff options
Diffstat (limited to 'tests/org.eclipse.swt.tests')
-rw-r--r-- | tests/org.eclipse.swt.tests/pom.xml | 1 | ||||
-rw-r--r-- | tests/org.eclipse.swt.tests/test.xml | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/org.eclipse.swt.tests/pom.xml b/tests/org.eclipse.swt.tests/pom.xml index 1bbd6a9867..14e6671920 100644 --- a/tests/org.eclipse.swt.tests/pom.xml +++ b/tests/org.eclipse.swt.tests/pom.xml @@ -68,6 +68,7 @@ <argLine>@{tycho.testArgLine} -Dorg.eclipse.swt.internal.gtk.disablePrinting ${os-jvm-flags}</argLine> <systemPropertyVariables> <user.home>${project.build.directory}</user.home> <!-- used as cache directory for SWT native libraries --> + <org.eclipse.swt.internal.gtk.enableStrictChecks>true</org.eclipse.swt.internal.gtk.enableStrictChecks> <!-- see bug 532632 --> </systemPropertyVariables> </configuration> </execution> diff --git a/tests/org.eclipse.swt.tests/test.xml b/tests/org.eclipse.swt.tests/test.xml index 5d909544d2..d5fe2ff3b0 100644 --- a/tests/org.eclipse.swt.tests/test.xml +++ b/tests/org.eclipse.swt.tests/test.xml @@ -30,8 +30,8 @@ <property name="data-dir" value="${data}"/> <property name="plugin-name" value="${plugin-name}"/> <property name="classname" value="org.eclipse.swt.tests.junit.AllNonBrowserTests"/> - <!-- workaround for https://bugs.eclipse.org/502410 : --> - <property name="vmargs" value="-Dorg.eclipse.swt.internal.gtk.disablePrinting"/> + <!-- workaround for https://bugs.eclipse.org/502410 and checks for bug 532632 --> + <property name="vmargs" value="-Dorg.eclipse.swt.internal.gtk.disablePrinting -Dorg.eclipse.swt.internal.gtk.enableStrictChecks"/> </ant> </target> |