JTReg tests results on other ports

Henri Gomez henri.gomez at gmail.com
Tue Sep 27 23:05:46 PDT 2011


OSX doc detail jtreg like this :

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


I do it :

  JTREG_DIR=$DROP_DIR/jtreg


  if [ -d macosx-port ]; then

      pushd macosx-port

      echo "entering source dir `pwd`"

      RECALL_POPD=true

  fi


  pushd jdk

  echo "testing java/lang..."

  $JTREG_DIR/linux/bin/jtreg -jdk:../build/macosx-universal/j2sdk-bundle/
1.7.0.jdk/Contents/Home/ -ignore:quiet -v:summary test/java/lang

  echo "testing java/lang/invoke..."

  $JTREG_DIR/linux/bin/jtreg -XX:+UnlockExperimentalVMOptions
-XX:+EnableInvokeDynamic -jdk:../build/macosx-universal/j2sdk-bundle/1.7.0.
jdk/Contents/Home/ -ignore:quiet -v:summary test/java/lang/invoke/

  echo "testing langtools..."

  $JTREG_DIR/linux/bin/jtreg -XX:+UnlockExperimentalVMOptions -jdk:build/
macosx-universal/j2sdk-bundle/1.7.0.jdk/Contents/Home -ignore:quiet
-samevm-v:summary
langtools/test/tools/

  popd


It's not clear to me, should we install a copy of JUnit under jreg lib dir ?
There is no such mentions in jtreg readme.

If we should to, which version of JUnit (4.9.x, 4.8.x, 3.8.x, 3.7.x ?)


More information about the macosx-port-dev mailing list