Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2018-03-15 11:35:52 +0000
committerAlexander Kurtakov2018-03-16 05:30:42 +0000
commit6a31157f05782dbe4db76ab176b25360687f513e (patch)
treeef1353e7240200d133c1e17886fd71b6332aeb5f
parentaa347816499be026931de06d9110d4b384dd9dbc (diff)
downloadeclipse.platform.swt-6a31157f05782dbe4db76ab176b25360687f513e.tar.gz
eclipse.platform.swt-6a31157f05782dbe4db76ab176b25360687f513e.tar.xz
eclipse.platform.swt-6a31157f05782dbe4db76ab176b25360687f513e.zip
[Tests] Use dedicated SWT native lib cache folderI20180316-0455
SWT tests often also involve testing a new snapshot of the native libraries. As SWT usually puts the libraries in a cache under user.home, it makes SWT tests more likely to used the cached version then the one that inside platform-specific fragments. SWT Tests are now configured to use a different user.home to not interact with the default cache directory. Signed-off-by: Mickael Istria <mistria@redhat.com>
-rw-r--r--tests/org.eclipse.swt.tests/pom.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/org.eclipse.swt.tests/pom.xml b/tests/org.eclipse.swt.tests/pom.xml
index e56e6bdf17..9b1811abc8 100644
--- a/tests/org.eclipse.swt.tests/pom.xml
+++ b/tests/org.eclipse.swt.tests/pom.xml
@@ -66,6 +66,9 @@
<configuration>
<testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory>
<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 -->
+ </systemPropertyVariables>
</configuration>
</execution>
</executions>

Back to the top