Skip to content
Java load testing and other full system application tests
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
openjdk.build Add openjdk.test.mauve configure to openjdk.build (#264) May 20, 2019
openjdk.test.classloading Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.concurrent Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.debugging Update Reference of ASM 7.0 to 7.1 May 16, 2019
openjdk.test.gc Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.jck Add jck.env.testPlatform.testsOnPreviewFeaturesEnabled=Yes option for May 24, 2019
openjdk.test.jlm Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.lambdasAndStreams Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.lang Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.load Exclude sub-tests that use SecurityManager Jun 11, 2019
openjdk.test.locking Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.math Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.mauve Add openjdk.test.mauve configure to openjdk.build (#264) May 20, 2019
openjdk.test.modularity Change to not build modularity natives on Windows if no compiler present Apr 24, 2019
openjdk.test.nio Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.serialization Changes to enable removal of top.xml Apr 23, 2019
openjdk.test.util Changes to enable removal of top.xml Apr 23, 2019
.gitattributes Add .gitattribute and .gitignore files Sep 11, 2017
.gitattributes.zos Change http to https (#182) Oct 1, 2018
.gitignore Add .gitattribute and .gitignore files Sep 11, 2017
LICENSE Change http to https (#182) Oct 1, 2018
NOTICE Initial commit Sep 11, 2017
README.md update JVM descriptions in README.md Nov 7, 2017

README.md

openjdk-systemtest

This repository contains the test cases which can be run against an OpenJDK with Hotspot or OpenJDK with Eclipse OpenJ9 based java implementation.

The tests all run under the STF System Test Framework.

Quick start (Unix)
Quick start (Windows)
More documentation

Quick start (Unix)

This quick start is for people who want to clone and build the project. To set up a development environment for creating new test cases, refer to this document.

Before running the build for the first time make sure GNU make, ant and wget are on your PATH.

wget is only required for the make configure step, which only needs to be done once.

Either copy, paste and execute this script which runs the command below, or run the commands yourself.

# 1. Create a directory for the git clone
mkdir -p $HOME/git

# 2. Clone the STF repository
cd $HOME/git
git clone git@github.com:AdoptOpenJDK/stf.git stf

# 3. Clone the openjdk-systemtest repository
cd $HOME/git
git clone git@github.com:AdoptOpenJDK/openjdk-systemtest.git openjdk-systemtest

# 4. Set JAVA_HOME to a Java 8 or later Java

export JAVA_HOME=<java-home>

# 5.Install the prereqs
# This requires wget to be on the PATH
cd $HOME/git/openjdk-systemtest/openjdk.build
make configure

# 6. Build
cd $HOME/git/openjdk-systemtest/openjdk.build
make

# 7. Run the tests (takes about an hour, depending on the test machine)
cd $HOME/git/openjdk-systemtest/openjdk.build
make test
echo See /tmp/stf to view the test results

Quick Start (Windows)

This quick start is for people who want to clone and build the project. To set up a development environment for creating new test cases, refer to this document.

Before running the build for the first time make sure GNU make, ant and wget are on your PATH.

wget is only required for the make configure step, which only needs to be done once.

Either copy, paste and execute this script which runs the command below, or run the commands yourself.

REM 1. Create a directory for the git clones
mkdir c:\%USERPROFILE%\git

REM 2. Clone the STF repository
cd c:\%USERPROFILE%\git
git clone git@github.com:AdoptOpenJDK/stf.git stf

REM 3. Clone the test cases repository
cd c:\%USERPROFILE%\git
git clone git@github.com:AdoptOpenJDK/openjdk-systemtest.git openjdk-systemtest

REM 4. Set JAVA_HOME to a Java 8 or later Java
SET JAVA_HOME=<java-home>

REM 5. Get the test case prereqs
cd C:\%USERPROFILE%\git\openjdk-systemtest\openjdk.build
make configure

REM 6. Build
cd C:\%USERPROFILE%\git\openjdk-systemtest\openjdk.build
make

REM 7. Run the tests (takes about an hour, depending on the test machine)
cd C:\%USERPROFILE%\git\openjdk-systemtest\openjdk.build
make test
echo See c:\stf_temp to view the test results
You can’t perform that action at this time.