Hi Mads,
The test groups are defined in the TEST.groups files at the top
level/test in each repository.
The jtreg -dir parameter is the top of a test directory hierarchy.
Omitting the argument to jtreg will run all the tests.
There is a group :jdk_core that may be a starting point.
Roger
On 1/20/2015 3:01 AM, Mads Bondo Dydensborg wrote:
It seems the message below did not get through - sorry if duplicates eventually
arrive.
Regards
Mads
From: Mads Bondo Dydensborg
Sent: 19. januar 2015 16:21
To: '[email protected]'
Subject: Windows 7: Running the tests
Hi all
I am trying to get to run the tests for my recent Windows 7 / 32 bit build (the
one that probably has a broken Freetype inclusion).
First: Is there a Windows binary build of the jtreg tool? I have not been able
to find one? (The build instructions seems daunting, and I still can not access
the hg server. Broken company network/proxy/firewall I suspect).
Secondly: I managed to lift a number of jars from debian packages and fiddle
enough to get the associated jtreg script running (had to change the classpath
separator).
But, when I try to run the tests, it fails, stating that it can not find a file
called ..:jdk_default. I added some debug statements to the jtreg script, and
got the following:
(this is in ~/Compile/openjdk-8-src-b132-03_mar_2014/openjdk/jdk/test):
MBD: About to run jtreg:
MBD: "C:\Program Files\Java\jdk1.7.0_72/bin/java"
-Xmx512m -Dprogram=`basename "C:/apps/cygwin/home/mbd/opt/jtreg/usr/bin/jtreg"`
-cp
"C:\apps\cygwin\home\mbd\opt\jtreg\usr\share\java/jtreg.jar;C:\apps\cygwin\home\mbd\opt\jtreg\lib/javatest.jar;C:\apps\cygwin\home\mbd\opt\jtreg\lib/jh.jar;C:\apps\cygwin\home\mbd\opt\jtreg\lib/junit.jar"
com.sun.javatest.regtest.Main
-agentvm
-a
-ea
-esa
-v:fail,error,time
-retain:fail,error
-ignore:quiet
-timeoutFactor:4
-r:C:/apps/cygwin/home/mbd/Compile/openjdk-8-src-b132-03_mar_2014/openjdk/jdk/testoutput/jdk_default/JTreport
-w:C:/apps/cygwin/home/mbd/Compile/openjdk-8-src-b132-03_mar_2014/openjdk/jdk/testoutput/jdk_default/JTwork
-jdk:C:/apps/cygwin/home/mbd/Compile/openjdk-8-src-b132-03_mar_2014/openjdk/jdk
-exclude:ProblemList.txt
-vmoption:-Xmx512m
:jdk_default
Error: Cannot find file:
C:\apps\cygwin\home\mbd\Compile\openjdk-8-src-b132-03_mar_2014\openjdk\jdk\test\:jdk_default
MBD: jtreg done, exitcode 4
Missing file:
C:/apps/cygwin/home/mbd/Compile/openjdk-8-src-b132-03_mar_2014/openjdk/jdk/testoutput/jdk_default/JTreport/text/summary.txt
EXIT CODE: 4
EXIT CODE: 4
Makefile:303: recipe for target `jtreg_tests' failed
make[1]: *** [jtreg_tests] Error 4
make[1]: Leaving directory
`/home/mbd/Compile/openjdk-8-src-b132-03_mar_2014/openjdk/jdk/test'
Makefile:254: recipe for target `jdk_default' failed
make: *** [jdk_default] Error 2
It seems like it wants to concat CWD and :jdk_default - whats up with that?
And, also, jdk_default should/could be the name of a group - but I can not find
that group anywhere?
Could it be that my version of jtreg is too old? (4.1)
Regards
Mads
Mads Bondo Dydensborg
Senior Software Architect
Development Programs
Defense & Security
Terma A/S
Vasekær 12
2730 Herlev
Denmark
T +45 8743 6000
F +45 8743 6001
E [email protected]
W www.terma.com
Follow Terma on the social media and in our Newsletter
________________________________________
Attention:
This e-mail (and attachment(s), if any) - intended for the addressee(s) only -
may contain confidential, copyright, or legally privileged information or
material, and no one else is authorized to read, print, store, copy, forward,
or otherwise use or disclose any part of its contents or attachment(s) in any
form. If you have received this e-mail in error, please notify me by telephone
or return e-mail, and delete this e-mail and attachment(s). Thank you.