-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* trashing some of the legacy code, extending readme and overall polishing * moving mkdir outside of if statements in case the user want to use a folder that does not exist yet (adoptium) * JRESDK -> JREJDK change in yaml file --------- Co-authored-by: jandrlik <[email protected]>
- Loading branch information
Showing
4 changed files
with
36 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
# TestHeadlessComponents | ||
Test of correct behavior of swing components in a headless jre environment. | ||
|
||
## Running TestHeadlessComponents locally | ||
|
||
### Setting up the environment: | ||
Nothing special is required, just install the java package or unpack the portable you want the test. | ||
|
||
### ENV variables: | ||
The test utilizes *JAVA_HOME variable, so if it is not set it will not work correctly! In case of testing portable packages please set it up first. | ||
BOOTJDK_DIR - directory to store bootjdk which is used to compile the code in case we are testing jre only installation. Uses ~/bootjdk by default and uses Adoptium latest build of relevant jdk for this purpose. | ||
BOOTJDK_ARCHIVE_DIR - In case the user wants to use arbitrary jdk build, he can provide path to its archive's dir and it will be used in jre execution.. Creates and downloads to $WORKSPACE/bootjdkarchive if unset. | ||
WORKSPACE - directory where the testsuite is going to execute all the tests. ~/workspace by default | ||
TMPRESULTS - this is a location where the logfiles will be after the testsuite finishes. Same as WORKSPACE by default. | ||
*JREJDK - This tells the testsuite whether we are testing jre or jdk. | ||
ARCH - architecture of our system. The suite detects this automatically if left blank. | ||
*OJDK_VERSION_NUMBER - number of jdk we are testing - this is used for downloading corresponding JDK from adoptium site. | ||
|
||
Variables marked with "*" are mandatory and the testsuite wont run without them. | ||
|
||
### Executing the testsuite | ||
|
||
Now it is as simple as running bash script testHeadlessComponents.sh. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters