Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6660712

JCK 6a test api/javax_sound/interactive/PlaySoundTest.html#PlaySoundTest fails on Ubuntu

XMLWordPrintable

    • generic
    • linux_ubuntu

      JDK: openJDK6 b03
      JCK: JCK6a + alt01
      Platform: Ubuntu Linux

      The following JCK 6a test fails:
      api/javax_sound/interactive/PlaySoundTest.html#PlaySoundTest

      Failure message:
      LineUnavailableException opening a clip on the AIS failed-canPlaySound option was specified as true. No lines were successfully found for sound playback. This interactive test has failed.

      The .jtr file for this failure is attached to this CR.

      The script below can be used to run this test (edit the script
      to set the JAVA_HOME variable).

      ===============================
      #!/bin/sh
      ######### api/javax_sound/interactive/PlaySoundTest.html#PlaySoundTest

      cd `dirname $0`

      TCK_HOME=/java/re/jck/6.0a/promoted/latest/binaries/JCK-runtime-6a
      #TCK_HOME=${TCK_HOME:-`cd ../../../..; pwd`}

      PLATFORM_SOUNDURL=file:///java/re/jck/6.0a/promoted/latest/binaries/JCK-runtime-6a/tests/api/javax_sound/sound.wav
      #PLATFORM_SOUNDURL=${PLATFORM_SOUNDURL:-UNDEFINED}

      #JAVA_HOME=/java/re/jdk/6u4/promoted/latest/binaries/solaris-sparc

      $JAVA_HOME/bin/java -cp $TCK_HOME/lib/javatest.jar:$TCK_HOME/classes javasoft.sqe.tests.api.javax.sound.interactive.PlaySoundTest -TestCaseID ALL -platform.canPlaySound true -platform.soundURL $PLATFORM_SOUNDURL
      ===============================

            amenkov Alex Menkov
            gaurisha Gauri Sharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: