The simplest way to get started with jtreg is to just download it, unpack it, and run some tests. In this recipe, we will do exactly that, without doing any additional things such as building it from the source code or trying to create our own tests.
For this recipe, nothing much is really required—just the Internet connection, a machine with an installed or built OpenJDK, and the OpenJDK source code. In a Windows environment, Cygwin has to be installed in your machine.
The following are a few simple steps to get a set of tests executed by jtreg:
If jtreg is not yet available on the machine, go to the official page of jtreg (https://adopt-openjdk.ci.cloudbees.com/job/jtreg/lastSuccessfulBuild/artifact/) and download the latest available version of jtreg. The other option is to build it from the source code. To do this, follow the instructions in the Building Jtreg from the source recipe that is covered...