~timo-jyrinki/qtpackaging/qtdeclarative

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Timo Jyrinki
  • Date: 2016-10-17 10:06:38 UTC
  • Revision ID: git-v1:2918e4ac1c99e064e452117d612d1955e1dd9a9d
Skip certain failing tests on i386 and ppc64el tests on xenial.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#export DH_VERBOSE=1
5
5
 
6
6
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
7
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
8
DEB_HOST_SERIES ?= $(shell lsb_release -c -s)
7
9
PRIVATE_HEADERS = debian/qtdeclarative5-private-dev/usr/include/$(DEB_HOST_MULTIARCH)/qt5
8
10
 
9
11
export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
68
70
        dh_makeshlibs
69
71
 
70
72
override_dh_auto_test-arch:
 
73
ifneq ("$(DEB_HOST_ARCH)$(DEB_HOST_SERIES)","ppc64elxenial")
71
74
        $(MAKE) install -Csrc/imports INSTALL_ROOT=$(CURDIR)/test_root
72
75
        mkdir -p $(CURDIR)/.local/share/QtProject/tst_qqmlengine
73
76
        xvfb-run -a \
75
78
                 dh_auto_test --max-parallel=1 -- -k -Ctests/auto \
76
79
                 QML2_IMPORT_PATH=$(CURDIR)/test_root/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/qml \
77
80
                 HOME=$(CURDIR) LD_LIBRARY_PATH=$(CURDIR)/lib
 
81
endif
78
82
 
79
83
override_dh_auto_test-indep: