Kashyap Ashwin wrote:
Hello,
I downloaded apr-1.2.7 from the web and did a very simple test - build
it in a directory other than the source directory:

$ mkdir /tmp/aprbuild
$ cd /tmp/aprbuild
$ ~/apr-1.2.7/configure
$ make $ cd test/
$ make
$ ./testall

This core dumps:
testatomic          : SUCCESS
testdir             : FAILED 2 of 13
testdso             : SUCCESS
testdup             : SUCCESS
testenv             : SUCCESS
testfile            : FAILED 3 of 29
testfilecopy        : FAILED 2 of 4
testfileinfo        : SUCCESS
testflock           : SUCCESS
testfmt             : SUCCESS
testfnmatch         : FAILED 2 of 2
testargs            : SUCCESS
testhash            : SUCCESS
testipsub           : SUCCESS
testlock            : SUCCESS
testlfs             : SUCCESS
testmmap            : |Segmentation fault (core dumped)

NOTE: testall succeeds if the sources are built in the source directory
itself.

AFAIK, The build itself works, its just the make test the fails, correct?

I don't think we ever considered it a requirement that testall worked correctly in vpath builds.

-Paul


Reply via email to