Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-263

Enable more LUNI tests to run using XML exclusion list

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Classlib
    • None
    • All
    • Novice

    Description

      This issue suggests running the LUNI test suite with a JUnit decorator that can exclude known test failures previously documented in an XML file.

      The exclusion list is already in the tree along with its XML schema (see jcltest-excludes.xml and excludes.xsd under support/src/test/resources) although it may be more helpful to move these to under the top level make directory. Similarly, the JUnit decorator class tests.util.SomeTests is already in the tree under support/src/test/java.

      The forthcoming patches propose updating the "run.tests" in modules/luni/make/common/build.xml to run a decorated version of the LUNI AllTests suite. Perhaps rather than being an outright replacement of the existing "run.tests" target this could be a peer target called something like "run.tests.with.exclusions" ?

      Hopefully the exclusions list and the JUnit decorator class approach suggested in this issue will be adopted in other modules besides LUNI.

      Note that because this issue enables more LUNI tests to run, the suite will take longer to complete and will run the java.net.* tests that rely on network servers (HTTP, FTP, SOCKS) being available as documented in the README included in HARMONY-57. If the servers are not available then failures will result which, I suppose, forces us to think about how we might bundle test servers into the tree and have them auto-started as the tests are run.

      Patches to follow...

      Best regards,
      George

      Attachments

        1. Harmony-263-part1.txt
          46 kB
          George Harley
        2. Harmony-263-part1.txt
          46 kB
          George Harley
        3. Harmony-263-part2.txt
          2 kB
          George Harley
        4. Harmony-263-part3.txt
          6 kB
          George Harley

        Issue Links

          Activity

            People

              tellison Tim Ellison
              georgeharley George Harley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: