• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. Port: MacOSX
  3. Main
  4. Mac OS X Port Testing

Mac OS X Port Testing

Skip to end of metadata
  • Created by Mike Swingler, last modified by David Durrence on Sep 20, 2011
Go to start of metadata

Running jtreg

jtreg is the test harness used by the OpenJDK test framework. The script linux/jtreg is a shell script that runs fine on Mac OS X. It will run all the tests under $SRC/jdk/.

By default jtreg will use the current jvm for running both the test harness and the tests themselves.

The examples below use the jtreg option -jdk to specify the JDK compiled in the macosx-port source directory.

Example: running all the jdk tests (takes a long time):

cd <path-to-macosx-port-source>/jdk/
<path to jtreg>/linux/bin/jtreg -jdk:../build/macosx-universal/j2sdk-bundle/1.7.0.jdk/Contents/Home/ -v:summary test

Example: running just the jdk java/lang tests (approximately 340 tests; completes in about 6 minutes):

cd <path-to-macosx-port-source>/jdk/
<path to jtreg>/linux/bin/jtreg -jdk:../build/macosx-universal/j2sdk-bundle/1.7.0.jdk/Contents/Home/ -v:summary test/java/lang

If you run jtreg by making a symbolic link to linux/jtreg in another directory already on your PATH you will need to export a JT_HOME environmental variable.

jtreg known failures

  • com/apple/eawt/DockIconTest.java (Issue: MACOSX_PORT-395)
  • com/apple/eio/FileManagerTests.java (Issue: MACOSX_PORT-415)
  • java/awt/Container/isRemoveNotifyNeeded/JInternalFrameTest.java (Issue: MACOSX_PORT-5)
  • java/awt/Frame/SetMinimumSize/MinSizeTest.java (Issue: MACOSX_PORT-166)
  • java/awt/Frame/ExtendedState/MaximizedBoundsTest.java (Issue: MACOSX_PORT-385)
  • java/awt/Frame/Misc/MixedItemsTest01.java (Issue: MACOSX_PORT-422)
  • java/awt/event/FocusEvent/FocusParity01.java (Issue: MACOSX_PORT-423)
  • java/awt/Dialog/ModalZOrder/ModalZOrder.java (Issue: MACOSX_PORT-422 or MACOSX_PORT-423)
  • java/awt/event/AWTEvent/Container/ContainerAddedTest.java (Issue: MACOSX_PORT-424)
Overview
Content Tools
ThemeBuilder
  • No labels

Terms of Use • License: GPLv2 • Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Adaptavist ThemeBuilder Powered by Atlassian Confluence 7.13.8
  • Adaptavist ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Adaptavist ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 195, "requestCorrelationId": "f5a81feec63ad6fc"}