El mar, 25-11-2008 a las 19:13 +0000, Peter Clifton escribió:
> On Tue, 2008-11-25 at 19:10 +0000, Peter Clifton wrote:
[snip]

> Hmm, it would seem that "make distcheck" does not though. Looks similar
> to the error I found before running "make check"
> 
> (make check still works though).
> 
> Perhaps you could investigate further?
> 
> 
> Running test multiply_real_factor
> cd /home/pcjc2/gedasrc/git/utils/geda-utils-1.5.0/_build/tests/gxyrs/run && 
> /usr/bin/perl -w /home/pcjc2/gedasrc/git/utils/geda-utils-1.5.0/gxyrs/gxyrs 
> --eval "return mul_col_val \$Y_COL, 2.5" pcb_example1.xy --output out.txt 2> 
> error.txt
> FAILED:  gxyrs returned 2 which did not match the expected  1
> Running test multiply_negative_real_factor
> cd /home/pcjc2/gedasrc/git/utils/geda-utils-1.5.0/_build/tests/gxyrs/run && 
> /usr/bin/perl -w /home/pcjc2/gedasrc/git/utils/geda-utils-1.5.0/gxyrs/gxyrs 
> --eval "return mul_col_val \$Y_COL, -2.5" pcb_example1.xy --output out.txt 2> 
> error.txt
> FAILED:  gxyrs returned 2 which did not match the expected  1
> Running test multiply_integer_factor

I checked in some fixes, but unfortunately they are not enough yet.

The problem was that 'make distcheck' place built files in a different
tree than sources, while run_tests expected then in the same tree.

I fixed that, and now gxyrs program is found. However, it depends on a
perl module called 'gxyrs.pm', which needs to be installed before
running gxyrs.

gxyrs.pl contains the following line:
  use lib 'GEDARCDIR/gxyrs'; # Where gxyrs package is located

GEDARCDIR is substituted by sed (run in Makefile), thus generating gxyrs
script.

'make distcheck' doesn't install any file before checking and therefore,
it fails.

I don't know how to tell make that it should install gxyrs.pm before
testing (maybe this is not a good way). 

Anyone knows how to deal with this?

Thanks,

Carlos



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to