Mailinglist Archive: opensuse-packaging (76 mails)

< Previous Next >
[opensuse-packaging] Question related to analyzing failing checks
Dear all!

I have the following lines in a spec:

---------------
%check
make %{?_smp_mflags} PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test && STAT=0 ||
STAT=$?
for f in `ls tests/*.out`; do cat $f ; done
exit $STAT
---------------

The intention is to show me the contents of ".out" files in a directory to find
the reasons for failing tests (which don't fail in my local environment). Unfortunately I
get the following result:

---------------
[ 472s] make: *** [Makefile:134: test] Error 1
[ 472s] + STAT=2
[ 472s] ++ ls tests/229_Tutorial_fxAnalyzeImage_case1.out
tests/236_Imagick_identify_basic.out
[ 472s] + for f in `ls tests/*.out`
[ 472s] + cat tests/229_Tutorial_fxAnalyzeImage_case1.out
[ 472s] ** ERROR: process timed out **+ for f in `ls tests/*.out`
[ 472s] + cat tests/236_Imagick_identify_basic.out
[ 472s] free(): invalid pointer
[ 472s]
[ 472s] Termsig=6+ '[' 2 -ne 0 ']'
[ 472s] + exit 2
[ 472s] error: Bad exit status from /var/tmp/rpm-tmp.fDnsLs (%check)
---------------

Any idea what's wrong?

For the reference: The project is
https://build.opensuse.org/package/show/home:weberho:branches:server:php:extensions:php7/php7-imagick

Best regards
--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >