Hi,

I tried to run tests from chroot and all tests executed successfully but 
execution takes a long time:

> real  804m47.257s
> user  43m32.480s
> sys   760m33.150s

On 21/03/17 11:47, Dejan Latinovic wrote:

> One solution could be to blacklist atlc on boards without FPU,
> the other solution could be to disable benchmark.test on MIPS.

I have created and attached a patch which disables this tests.
With this patch package builds successfully, without benchmark.test execution.

Regards,
Radovan
--- atlc-4.6.1_orig/debian/rules	2011-12-26 07:50:12.000000000 +0000
+++ atlc-4.6.1/debian/rules	2017-03-23 08:40:37.763877641 +0000
@@ -7,7 +7,7 @@
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 
 CFLAGS = -Wall -g
 
@@ -21,6 +21,10 @@
 endif
 
 config.status: configure
+ifeq ($(DEB_HOST_ARCH_CPU), $(filter $(DEB_HOST_ARCH_CPU), mips mipsel))
+	sed -e '/s*\tbenchmark.test/d' -i tests/Makefile.in
+	sed -e 's/\tWARNING-The-next-test-is-a-benchmark-and-takes-a-long-while.test \\//g' -i tests/Makefile.in
+endif
 	dh_testdir
 	cp -f /usr/share/misc/config.sub config.sub
 	cp -f /usr/share/misc/config.guess config.guess

Reply via email to