January 2015
Intermediate to advanced
298 pages
6h 27m
English
jtreg is not only a command-line tool, but it also provides a relatively sophisticated graphical interface that allows you to run an individual set of tests, prepare test runs, see results of the run, and so on. This recipe will cover some basic features of UI that are enough for the user to start using the tool.
All that is required for this recipe is an installed jtreg and the OpenJDK sources.
#!/bin/sh export JT_JAVA=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.7.0.fc20.x86_64 /home/user/openjdk/jtreg/build/images/jtreg/bin/jtreg –g -jdk:$JT_JAVA -agentvm -automatic -verbose:summary -w build/jtreg/work -r build/jtreg/report ...
Read now
Unlock full access