diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2023-01-12 01:37:00 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2023-01-12 01:37:00 +0100 |
commit | f090e50d0d5d75c121b6170927b1e776160eb37d (patch) | |
tree | 92bb1d45e1f80ff8cb321124343e17a449c8250a /buildScripts/tests.ant.xml | |
parent | 073ec78dd523e6108f18325f321204912b311f26 (diff) | |
download | lombok-f090e50d0d5d75c121b6170927b1e776160eb37d.tar.gz lombok-f090e50d0d5d75c121b6170927b1e776160eb37d.tar.bz2 lombok-f090e50d0d5d75c121b6170927b1e776160eb37d.zip |
[tests] testing eclipse-full works on more platforms.
only worked on linux-x86_64, now it should work on more os+arch combos
Diffstat (limited to 'buildScripts/tests.ant.xml')
-rw-r--r-- | buildScripts/tests.ant.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/buildScripts/tests.ant.xml b/buildScripts/tests.ant.xml index f20f76ae..d34e1f82 100644 --- a/buildScripts/tests.ant.xml +++ b/buildScripts/tests.ant.xml @@ -222,9 +222,15 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn </fileset> </path> <echo>Running EclipseTests on eclipse-@{version} on JVM${ant.java.version}</echo> + <condition property="os.specific.firstThread" value="-XstartOnFirstThread"> + <os name="Mac OS X" /> + </condition> + <!-- On Mac OS X, -XstartOnFirstThread is required, on other OSes, the JVM doesn't recognize the option. -showversion serves as a no-op --> + <property name="os.specific.firstThread" value="-showversion" /> <junit haltonfailure="yes" fork="true" forkmode="once"> <formatter classname="lombok.ant.SimpleTestFormatter" usefile="false" unless="tests.quiet" /> <jvmarg value="-javaagent:dist/lombok.jar" /> + <jvmarg value="${os.specific.firstThread}" /> <jvmarg value="-Dlombok.testenv=testenv/eclipse-@{version}" /> <classpath refid="cp.eclipse-@{version}" /> <classpath location="build/ant" /> |