Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-930

fail build if contrib tests fail to compile

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: general/build
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      spinoff of LUCENE-885, from Steven's comments...

      Looking at the current build (r545324) it looks like the some contrib failures are getting swallowed. Things like lucli are throwing errors along the lines of

      [subant] /home/barronpark/smparkes/work/lucene/trunk/common-build.xml:366: srcdir "/home/barronpark/smparkes/work/lucene/trunk/contrib/lucli/src/test" does not exist!

      but these don't make it back up to the top level status.

      It looks like the current state will bubble up junit failures, but maybe not build failures?

      ...

      It's "test-compile-contrib" (if you will) that fails and rather being contrib-crawled, that's only done as the target of "test" in each contrib directory, at which point, it's running in the protected contrib-crawl.

      Easy enough to lift this loop into another target, e.g., build-contrib-test. And that will start surfacing errors, which I can work through.

        Attachments

        1. LUCENE-930.patch
          2 kB
          Hoss Man
        2. LUCENE-930.patch
          5 kB
          Hoss Man
        3. LUCENE-930.patch
          6 kB
          Hoss Man
        4. LUCENE-930.patch
          6 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: