dmatej / jakartaeetck-runner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jakarta EE TCK Runner for Payara

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

  1. Extract TCK into clean directory

  2. Apply Payara vendor configuration

  3. Run additional environment needed for tests

  4. Run actual TCK suite and capture its output

Prerequisites

  • 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 the PATH)

      • 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)

How to run

  1. copy the binaries into bundles directory (jakartaeetck.zip,latest-glassfish.zip, payara-prerelease.zip)

  2. run bundles/run_server. That’s this simple download server on port 8000

  3. run run.sh <suiteName> — this will perform the test under ./cts_home

  4. 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

What to configure

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/

About

License:Other


Languages

Language:Java 50.1%Language:Shell 47.3%Language:TSQL 2.6%