Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902351

jtreg evaluates ProblemList with properties of VM running jtreg

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      When evaluating the ProblemList specified with -exclude, jtreg compares the platform specifiers as windows-i586 with the properties of the VM running the jtreg harness. It does not use the properties of the VM tested specified by -testvm.

      Our testrunner is a 64-bit VM, that also tests 32-bit variants. Thus, if we want to exclude a test for the 32-bit VM by specifying windows-i586, it is not excluded. Instead, the ProbelmList is scanned for windows-amd64 excludes.

      Basic functionality to ask the testvm for its properties is already implemented and just needs to be used in the proper place.

      This change also fixes a copy-and-paste error in OS.java.

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

              Created:
              Updated:
              Resolved: