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

FindTests.gmk cannot handle "=" in TEST.groups comments

    Details

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

      Description

      I get a build error when having comments like this in test/hotspot/jtreg/TEST.groups

      # This group should be executed with 'jtreg -vmoptions:-Dtest.cds.run.with.jfr=true ...'
      # to test interaction between AppCDS and JFR. It also has the side effect of
      # testing JVMTI ClassFileLoadHook.

      The function FindJtregGroupsBody in FindTests.gmk incorrectly interprets the line that contains "=" as the definition of a test group.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iklam Ioi Lam
                Reporter:
                iklam Ioi Lam
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: