Skip to main content.
home | support | download

Back to List Archive

Re: Compiling Test Failures

From: Bruce Pettyjohn <bruce.pettyjohn(at)not-real.varianinc.com>
Date: Tue Apr 27 2004 - 18:29:11 GMT
Bill,

Thanks for the reply.  Seems to cause a core dump in 2.4.2.
Thoughts?  Ok in 2.4.0-pr4-2003-10-22.

Bruce


At 10:33 AM 4/27/2004, Bill Moseley wrote:
>On Tue, Apr 27, 2004 at 08:40:02AM -0700, Bruce Pettyjohn wrote:
>
>Hi Bruce,
>
>
> > make  check-TESTS
> > make[2]: Entering directory `/opt/download/swishe/swish-e-2.4.2/tests'
> > FAIL: check_index
> > FAIL: check_search
> > FAIL: check_metasearch
>
>The tests in swish-e really only check that the program compiled
>correctly and runs.  So you might of had a build error.
>
>I normally run:
>
>    make >/dev/null

Experienced no error messages.


>so it's easier to see if there's any errors or warnings.
>
>You can also run the test manually.  They are just shell scripts that
>get passed in variables so it knows where to find swish.
>
>You can also do this from the tests directory:
>
>     moseley@bumby:~/swish-e/tests$ ../src/swish-e -c test.configxx -i . 
> -v0 && echo 'ok!' || echo 'No!'

Ran for 2.4.2:
==========
# ../src/swish-e -c test.config -i . -v0 && echo 'ok!' || echo 'No!'
Segmentation Fault - core dumped
No!


Ran same in 2.4.0-pr4-2003-10-22
========================
# cd swish-e-2.4.0-pr4-2003-10-22/tests
# ../src/swish-e -c test.config -i . -v0 && echo 'ok!' || echo 'No!'
ok!



>And see what kind of output you get:
>
>--
>Bill Moseley
>moseley@hank.org
Received on Tue Apr 27 11:29:11 2004