Lucene - Core
  1. Lucene - Core
  2. LUCENE-1440

Add ability to run backwards-compatibility tests automatically

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: general/build
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      This is an idea Doug mentioned on LUCENE-1422.

      This patch adds new targets to build.xml to automatically download the junit tests from a previous Lucene release and run them against the current core.
      Execute tests like this:
      ant -Dtag=lucene_2_4_0 test-tag

      It will create a new directory tags/lucene_2_4_0 and fetch the tests from the svn repository and run them.

      1. lucene-1440.patch
        9 kB
        Michael Busch

        Activity

        Hide
        Michael Busch added a comment -

        Here's the patch.

        It adds the targets 'test-tag' and 'clean-tags'.
        In common-build.xml I added 'test-macro' and 'compile-test-macro' that are shared between the standard 'test' and new 'test-tag' targets.

        Currently all tests from Lucene 2.4 pass with trunk.

        Show
        Michael Busch added a comment - Here's the patch. It adds the targets 'test-tag' and 'clean-tags'. In common-build.xml I added 'test-macro' and 'compile-test-macro' that are shared between the standard 'test' and new 'test-tag' targets. Currently all tests from Lucene 2.4 pass with trunk.
        Hide
        Michael Busch added a comment -

        Committed revision 712416.

        Show
        Michael Busch added a comment - Committed revision 712416.

          People

          • Assignee:
            Michael Busch
            Reporter:
            Michael Busch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development