What configuration needs to be done so that all the test cases pass successfully?
On 10/26/07, Sebastian Steinmetz <[EMAIL PROTECTED]> wrote: > Hi Alexis, > > even the tests delivered with the 0.9 release don't run clearly over > here. Maybe i've configured s.th. wrong, or the tests are outdatet or > whatever... > > can anyone confirm? > > regards, > Sebastian Steinmetz > > > Am 25.10.2007 um 20:05 schrieb Alexis Votta: > > > I checked out revision 588274 of Nutch trunk. Entered the following > > two commands only without making any changes to the trunk. > > > > $ ant > > $ ant test > > > > The first command ran fine. But the second command ended with errors. > > > > compile-test: > > [javac] Compiling 1 source file to > > /trunk-work/build/urlnormalizer-regex/test > > [javac] Note: > > /trunk-work/src/plugin/urlnormalizer-regex/src/test/org/apache/ > > nutch/net/urlnormalizer/regex/TestRegexURLNormalizer.java > > uses unchecked or unsafe operations. > > [javac] Note: Recompile with -Xlint:unchecked for details. > > > > jar: > > > > deps-test: > > > > init: > > > > init-plugin: > > > > compile: > > > > jar: > > [jar] Warning: skipping jar archive > > /trunk-work/build/nutch-extensionpoints/nutch-extensionpoints.jar > > because no files were included. > > > > deps-test: > > > > deploy: > > > > copy-generated-lib: > > > > deploy: > > > > copy-generated-lib: > > > > test: > > [echo] Testing plugin: urlnormalizer-regex > > [junit] Running > > org.apache.nutch.net.urlnormalizer.regex.TestRegexURLNormalizer > > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: > > 0.037 sec > > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: > > 21.678 sec > > > > BUILD FAILED > > /trunk-work/build.xml:302: The following error occurred while > > executing this line: > > /trunk-work/src/plugin/build.xml:102: The following error occurred > > while executing this line: > > /trunk-work/src/plugin/build-plugin.xml:200: Tests failed! > > > > Is this normal? Ideally all tests should pass. Shouldn't they? > >
