pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make check when cross compiling


From: Ben Pfaff
Subject: Re: make check when cross compiling
Date: Wed, 9 Mar 2016 09:11:49 -0800
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Mar 09, 2016 at 01:57:49PM +0100, Harry Thijssen wrote:
> Hi
> 
> I had a look to find out why all tests fail when cross compiling.
> 
> If I look at atconfig.in I see:
> 
> # -*- shell-script -*-
> 
> # Variables used internally by the testsuite.
> EXEEXT='.exe'
> GNM_READ_SUPPORT='yes'
> ODF_READ_SUPPORT='yes'
> .....
> 
> 
> if I look in the logfiles from the tests I see:
> 
> #                             -*- compilation -*-
> 93. sys-file-reader.at:1908: testing missing string continuation record ...
> ./sys-file-reader.at:1926: sack --$variant sys-file.sack > sys-file.sav
> --- /dev/null    2016-03-08 20:27:55.663840673 +0100
> +++
> /home/harry/pspp-master-20160308/pspp-0.9.0-gc50266/tests/testsuite.dir/at-groups/93/stderr
> 2016-03-08 22:01:34.369722134 +0100
> @@ -0,0 +1 @@
> +/home/harry/pspp-master-20160308/pspp-0.9.0-gc50266/tests/testsuite.dir/at-groups/93/test-source:
> line 25: sack: command not found
> ./sys-file-reader.at:1926: exit code was 127, expected 0
> 93. sys-file-reader.at:1908: 93. missing string continuation record (
> sys-file-reader.at:1908): FAILED (sys-file-reader.at:1926)
> 
> Shouldn't it be sack.exe instead of sack?

No, sack runs on the machine where the build occurs, not on the machine
that the build targets.  In other words, sack is a build tool.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]