This is simple wrapper script to run Jakarta EE TCK binaries.
It provides relevats ts.jte
overrides as well as vendor implementation of the configuration interface.
The runner will
-
Extract TCK into clean directory
-
Apply Payara vendor configuration
-
Run additional environment needed for tests
-
Run actual TCK suite and capture its output
-
Binary build of the TCK, (
jakartaeetck.zip
) -
Build of glassfish (
latest-glassfish.zip
) -
Build of payara, e. g. nightly from Jenkins (
payara-prerelease.zip
) -
Linux system with
-
Java 8 (referenced by
JAVA_HOME
and referenced in thePATH
)-
E.g. the following should hold:
export PATH=$JAVA_HOME/bin:$ANT_HOME/bin/:$PATH
-
-
Ant (referenced by
ANT_HOME
) -
Python (just for
SimpleHTTPServer
) -
Docker (needed for mailserver container)
-
-
copy the binaries into
bundles
directory (jakartaeetck.zip
,latest-glassfish.zip
,payara-prerelease.zip
) -
run
bundles/run_server
. That’s this simple download server on port 8000 -
run run.sh <suiteName> — this will perform the test under
./cts_home
-
produce a slim-down report archived by running
./slim-archive.sh <suite-results.tar.gz>
jakartaeetck.zip
<suiteName> may be one of the TCK suite names. These can be found in jakartaeetck.zip/src/com/sun/ts/tests
Inspect run.sh
for comments with (ENV)
concerning other parameters you can set via environment.
If anything needs to be modified in ts.jte
, place the line in ts.overrides.properties
.
Anything concerning configuration of Payara should be possible to set up via ant scripts in cts-impl/