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

fail build if contrib tests fail to compile

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • general/build
    • None
    • 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
          6 kB
          Chris M. Hostetter
        2. LUCENE-930.patch
          6 kB
          Chris M. Hostetter
        3. LUCENE-930.patch
          5 kB
          Chris M. Hostetter
        4. LUCENE-930.patch
          2 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: