]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Ignore test failures on non-i386/amd64 architectures (Closes: bugs/572290
authorDon Armstrong <don@donarmstrong.com>
Wed, 11 Aug 2010 01:07:38 +0000 (18:07 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 11 Aug 2010 01:07:38 +0000 (18:07 -0700)
    #572290)

debian/rules

index a2378cd331b500ee3d5e4f8d27039fe527de011a..1381798aa3910a5264f974b65831cb016d8ec48e 100755 (executable)
@@ -59,7 +59,14 @@ build-stamp:
                --infodir='$${prefix}/share/info' \
                --mandir='$${prefix}/share/man'
        $(MAKE)
-       $(MAKE) test
+       # ignore test failures on architectures which aren't i386 or
+       # amd64 until we properly fix failures when /dev/tty doesn't
+       # exist (#572290)
+       if dpkg-architecture -eamd64 || dpkg-architecture -ei386; then \
+               $(MAKE) test; \
+       else \
+               $(MAKE) test || true; \
+        fi;
 
        touch build-stamp