The test script doesn't seem to stop on error. I noticed this in the logs: ++++++ testing level 1 interface simple iterator on read-only file generating FLAC file for test testing 'metadata.flac'... 0... 1... content... PASSED is writable = 1 ERROR: iterator claims file is writable when it should not be ERROR during test_libFLAC FAIL: ./test_libFLAC.sh Platform is a mobile PII/400 Linux 2.4.18 RH7.1 based system. Cheers, David
--- David Willmore <davidwillmore@iamanidiot.com> wrote:> > The test script doesn't seem to stop on error. I noticed this > in the logs: > > ++++++ testing level 1 interface > simple iterator on read-only file > generating FLAC file for test > testing 'metadata.flac'... 0... 1... content... PASSED > is writable = 1 > ERROR: iterator claims file is writable when it should not be > > ERROR during test_libFLAC > FAIL: ./test_libFLAC.shDavid, Are you running the test as root by any chance? That might be fooling the tester (but not libFLAC). Josh __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
--- David Willmore <davidwillmore@iamanidiot.com> wrote:> > The test script doesn't seem to stop on error. I noticed this > in the logs: > > ++++++ testing level 1 interface > simple iterator on read-only file > generating FLAC file for test > testing 'metadata.flac'... 0... 1... content... PASSED > is writable = 1 > ERROR: iterator claims file is writable when it should not be > > ERROR during test_libFLAC > FAIL: ./test_libFLAC.sh > > > Platform is a mobile PII/400 Linux 2.4.18 RH7.1 based system.the ./test_libFLAC.sh should stop immediately at the error, but 'make check' should continue on with the other tests and at the end tell you '1 out of 4 tests failed' or something like that. as to the error you got, that will probably require a little bit of debugging. I can't see just from looking at the sources why that would happen. Josh __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com