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

Fix compare.sh to have a clean baseline with COMPARE_BUILD

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b106

      Description

      The rather new feature COMPARE_BUILD, which builds twice, applying some kind of change between them, is really neat. Especially when run through JPRT to check all platforms at once. The problem is that compare.sh currently isn't clean on all these platforms. There are also some special peculiarities particular to when JPRT is running the build which confuses compare.sh.

      Given that COMPARE_BUILD uses the exact same output directory, and JPRT sets the version-opt string to a fix value for both builds, we should be able to achieve a clean and stable baseline for an empty patch file.

      I would also like to change COMPARE_BUILD to fail the build when differences are found. I will add another option to COMPARE_BUILD to disable failing.

        Attachments

          Activity

            People

            • Assignee:
              erikj Erik Joelsson
              Reporter:
              erikj Erik Joelsson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: