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

Allow disabling :web:test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 9
    • None
    • javafx
    • None


      The following allows me to disable running :web:test when running :test
      This helps avoid the chatter when I am out of sync with the native libraries.

      diff -r 41a09c0ae5d2 -r 31c93dad2ded build.gradle
      --- a/build.gradle Sat Apr 30 09:29:01 2016 -0400
      +++ b/build.gradle Sat Apr 30 09:37:31 2016 -0400
      @@ -406,6 +406,9 @@
       defineProperty("JIGSAW_TEST", "true")
       ext.IS_JIGSAW_TEST = Boolean.parseBoolean(JIGSAW_TEST) && USE_JIGSAW
       
      +defineProperty("WEB_TEST", "true")
      +ext.IS_WEB_TEST = Boolean.parseBoolean(WEB_TEST)
      +
       defineProperty("FORCE_TESTS", "false")
       ext.IS_FORCE_TESTS = Boolean.parseBoolean(FORCE_TESTS);
       
      @@ -2636,6 +2639,7 @@
           }
       
           test {
      + enabled = IS_WEB_TEST
               if (!IS_JIGSAW_TEST) {
               //TODO: support this in Jake
               // Run web tests in headless mode

            ddhill David Hill (Inactive)
            ddhill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: