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

gradle validateSourceSets task not run when TEST_ONLY=true

    XMLWordPrintable

Details

    • b09

    Description

      To reproduce this:

      $ gradle sdk shims
      $ gradle -PTEST_ONLY=true test

      The `validateSourceSets` tasks should be run, but aren't.

      I discovered this while trying to figure out why JDK-8310654 wasn't caught prior to integration. A GHA test run should have caught the problem, but didn't because validateSourceSets` wasn't run.

      We need to add validateSourceSets to the list of tasks that are considered "test" tasks.

      Attachments

        Issue Links

          Activity

            People

              arapte Ambarish Rapte
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: