Mailinglist Archive: opensuse-packaging (76 mails)

< Previous Next >
Re: [opensuse-packaging] Question related to analyzing failing checks

El 07-05-2018 a las 8:51, Johannes Weberhofer escribió:
Dear all!

I have the following lines in a spec:

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

IN your local enviroment do you have installed the aaa_base-malloccheck or did you

export MALLOC_CHECK_=3

before running tests ?

As Andreas said..there is a bug somewhere, code is freeing pointer it is not supposed to.

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups