Re: How to print test log in case of failures?

2018-01-24 Thread Gianfranco Costamagna
Hello James,


>That whole file looks like a major source of unaligned accesses, at aglance, 
>and likely needs some attention to support a potential lack of 64-bit
>(and, in general, any) unaligned accesses.


so, thanks for the really helpful answer!

Do you think it is ok to override the testsuite on armhf, and assume that 
people will not mix arm64 and armhf at runtime?
I don't think I have the knowledge to understand or fix it... I think disabling 
is the best thing we can do for now...

what is your opinion?
(I still see no big usage of haskell on arm...)

G.

___
Pkg-haskell-maintainers mailing list
Pkg-haskell-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-haskell-maintainers


How to print test log in case of failures?

2018-01-22 Thread Gianfranco Costamagna
Hello, I'm trying to sort out an armhf alignment issue
that happens with haskell-th-utilities in Ubuntu
(but I'm pretty sure this isn't an Ubuntu-specific issue, reason
for Ubuntu to fail is probably because stuff is run on top of an arm64
kernel).

Test suite logged to: dist-ghc/test/th-utilities-0.2.0.1-test.log
0 of 1 test suites (0 of 1 test cases) passed.
/usr/share/cdbs/1/class/hlibrary.mk:154: recipe for target 'check-ghc-stamp' 
failed
make: *** [check-ghc-stamp] Error 1

this is what is printed.

Now, how can we print that file in case of failures?
I tried an override_dh_auto_test but it seems to be a cdbs packaging, and I 
don't know
if haskell helpers have some "hooks" to intercept failures
(it would be even better to patch the build system to automatically print the 
content
of the testsuite log in case of failures BTW)

If you are interested, this is the log
https://launchpad.net/ubuntu/+source/haskell-th-utilities/0.2.0.1-1build1/+build/13678151

Any help is appreciated :)

(I'm ccing James, since he knows a lot on this aligment/topic :) )

thanks!

G.

___
Pkg-haskell-maintainers mailing list
Pkg-haskell-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-haskell-maintainers