Package: acpica-unix
Version: 20100528-3
Followup-For: Bug #696211
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

Hi there,

Attached is a follow-on patch to fix debian/rules to not try to run the test
suite when DEB_BUILD_OPTIONS=nocheck is set.  This is also relevant when
cross-building, since executables for the target architecture may not be
runnable on the build machine.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
=== modified file 'debian/changelog'

=== modified file 'debian/rules'
--- debian/rules	2012-12-18 06:37:08 +0000
+++ debian/rules	2012-12-19 02:51:37 +0000
@@ -65,10 +65,12 @@
 	install -d $(CURDIR)/debian/iasl/usr/share/man/man1
 	gzip -9 < $(CURDIR)/debian/iasl.1 > $(CURDIR)/debian/iasl/usr/share/man/man1/iasl.1.gz
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	# testcase
 	$(CURDIR)/debian/iasl/usr/bin/iasl -tc -p debian/acpi-dsdt.test.hex debian/acpi-dsdt.dsl
 	tail -n +14 debian/acpi-dsdt.test.hex > debian/acpi-dsdt.test.hex-1
 	diff -u debian/acpi-dsdt.hex debian/acpi-dsdt.test.hex-1
+endif
 
 update-test-case: build
 	mv debian/acpi-dsdt.hex debian/acpi-dsdt.hex.$(shell date +%s)

Reply via email to