Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed a couple of typos, minor formatting

...

These guidelines may evolve as things evolve on new versions of the platforms.

First some more general gudelines guidelines :

The jtreg framework runs all the tests and these are run in othervm mode for all client tests - as specified in TEST.ROOT

...

make -- test TEST_JOBS=1 TEST="jtreg:jdk_desktop" JTREG='VERBOSE=summary;KEYWORDS=headful&!printer;RETRY_COUNT=2'

Will run just the headtul headful tests and exclude headless ones. Or you can do vice versa. RETRY_COUNT means that any test that fails should be retried. Sadly this is quiteuseful quite useful as headful tests can sometimes be sensitive to timing etc. These probably indicate a test stability issue but RETRY helps you be more sure of that without needing to re-run the entire task. It should also be obvious that you don't touch your keyboard or mouse whilst these are running and that TEST_JOBS=1 is pointing out that headful tests can't be running concurrently and fighting over input focus etc.

...

  • Windows defaults to some delays in focus transfer which will cause many test failures. To avoid this you need to do :
    regedit HKEY_CURRENT_USER\Control Panel\Desktop\ForegroundLockTimeout = 0
  •  Make sure if the system has JAWS installed, it isn't going to be activated.

...

  • Show all icons and notifications in taskbar and dont don't hide them

...

  • Right Click on Taskbar →

...

  • Properties → (Notification area) Click

...

  • Customize → Enable checkbox "Always show all icons and notifications on the taskbar"

macOS-Specific System set up notes

...