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

[TESTBUG] Fix tests on Linux/s390x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b150
    • s390x
    • linux

      These are some small changes (basically platform detection and exclusion of some tests) to fix the jtreg tests on Linux/s390x.

      Base repository:
      ---------------------

      Add isS390x() to platform.java. Sort checks alphabetically.
      Add s390x to shouldSAAttach.

      Hotspot repository:
      -------------------------

      compiler/ciReplay/SABase.java
      SA writes "Command not valid until the attached to a VM" to test_replay.txt.
      Disable test is SA not supported.

      compiler/intrinsics/sha/cli/...
      Add checks for corresponding cpu feature.

      Adapt test_env.sh and TestMutuallyExclusivePlatformPredicates.java

      jdk repostiory:
      ------------------
      test/java/awt/JAWT/JAWT.sh
      Exclude this test.

      test/sun/tools/jhsdb/heapconfig/...
      Use Platform.java from base repo which known that s390 does not support SA.




            goetz Goetz Lindenmaier
            simonis Volker Simonis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: