mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
debian packaging: run tests with xvfb and upload results to dashboard
This commit is contained in:
parent
275bf7a0db
commit
aa44bfea59
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -12,9 +12,9 @@ qgis (1.9.90) UNRELEASED; urgency=low
|
||||
* add mssqlprovider plugin
|
||||
* copyright & policy update (synced from debiangis)
|
||||
* run crssync in postinst
|
||||
* switch from test with check target instead of test
|
||||
* run tests with xvfb and upload to results to (c)dashboard
|
||||
|
||||
-- Jürgen E. Fischer <jef@norbit.de> Sat, 14 Apr 2012 10:39:28 +0200
|
||||
-- Jürgen E. Fischer <jef@norbit.de> Wed, 18 Apr 2012 20:50:12 +0200
|
||||
|
||||
qgis (1.8.0) UNRELEASED; urgency=low
|
||||
|
||||
|
3
debian/control.lucid
vendored
3
debian/control.lucid
vendored
@ -32,7 +32,8 @@ Build-Depends:
|
||||
git-core,
|
||||
doxygen,
|
||||
graphviz,
|
||||
txt2tags
|
||||
txt2tags,
|
||||
xvfb, xauth, xfonts-base
|
||||
Build-Conflicts: libqgis-dev, qgis-dev
|
||||
Standards-Version: 3.8.4
|
||||
XS-Python-Version: current
|
||||
|
3
debian/control.maverick
vendored
3
debian/control.maverick
vendored
@ -33,7 +33,8 @@ Build-Depends:
|
||||
git,
|
||||
doxygen,
|
||||
graphviz,
|
||||
txt2tags
|
||||
txt2tags,
|
||||
xvfb, xauth, xfonts-base
|
||||
Build-Conflicts: libqgis-dev, qgis-dev
|
||||
Standards-Version: 3.8.4
|
||||
XS-Python-Version: current
|
||||
|
3
debian/control.natty
vendored
3
debian/control.natty
vendored
@ -33,7 +33,8 @@ Build-Depends:
|
||||
git,
|
||||
doxygen,
|
||||
graphviz,
|
||||
txt2tags
|
||||
txt2tags,
|
||||
xvfb, xauth, xfonts-base
|
||||
Build-Conflicts: libqgis-dev, qgis-dev
|
||||
Standards-Version: 3.8.4
|
||||
XS-Python-Version: current
|
||||
|
3
debian/control.oneiric
vendored
3
debian/control.oneiric
vendored
@ -33,7 +33,8 @@ Build-Depends:
|
||||
git,
|
||||
doxygen,
|
||||
graphviz,
|
||||
txt2tags
|
||||
txt2tags,
|
||||
xvfb, xauth, xfonts-base
|
||||
Build-Conflicts: libqgis-dev, qgis-dev
|
||||
Standards-Version: 3.8.4
|
||||
XS-Python-Version: current
|
||||
|
3
debian/control.precise
vendored
3
debian/control.precise
vendored
@ -36,7 +36,8 @@ Build-Depends:
|
||||
git,
|
||||
doxygen,
|
||||
graphviz,
|
||||
txt2tags
|
||||
txt2tags,
|
||||
xvfb, xauth, xfonts-base
|
||||
Build-Conflicts: libqgis-dev, qgis-dev
|
||||
Standards-Version: 3.8.4
|
||||
XS-Python-Version: current
|
||||
|
5
debian/control.sid
vendored
5
debian/control.sid
vendored
@ -35,7 +35,8 @@ Build-Depends:
|
||||
git,
|
||||
doxygen,
|
||||
graphviz,
|
||||
txt2tags
|
||||
txt2tags,
|
||||
xvfb, xauth, xfonts-base
|
||||
Build-Conflicts: libqgis-dev, qgis-dev
|
||||
Standards-Version: 3.9.3
|
||||
X-Python-Version: current
|
||||
@ -129,7 +130,7 @@ Description: GRASS plugin for Quantum GIS - architecture-independent data
|
||||
Package: python-qgis
|
||||
Section: python
|
||||
Architecture: any
|
||||
Depends: python-qt4 (>=4.1.0), python-sip (>= 4.5.0), python-qgis-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
Depends: python-qt4 (>=4.1.0), python-sip (>= 4.5.0), python-qgis-common (= ${source:Version}), python-pyspatialite, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
Description: Python bindings to Quantum GIS
|
||||
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
|
||||
and display databases of geographic information.
|
||||
|
3
debian/control.squeeze
vendored
3
debian/control.squeeze
vendored
@ -32,7 +32,8 @@ Build-Depends:
|
||||
git,
|
||||
doxygen,
|
||||
graphviz,
|
||||
txt2tags
|
||||
txt2tags,
|
||||
xvfb, xauth, xfonts-base
|
||||
Build-Conflicts: libqgis-dev, qgis-dev
|
||||
Standards-Version: 3.8.4
|
||||
XS-Python-Version: current
|
||||
|
3
debian/control.wheezy
vendored
3
debian/control.wheezy
vendored
@ -35,7 +35,8 @@ Build-Depends:
|
||||
git,
|
||||
doxygen,
|
||||
graphviz,
|
||||
txt2tags
|
||||
txt2tags,
|
||||
xvfb, xauth, xfonts-base
|
||||
Build-Conflicts: libqgis-dev, qgis-dev
|
||||
Standards-Version: 3.9.3
|
||||
X-Python-Version: current
|
||||
|
8
debian/rules
vendored
8
debian/rules
vendored
@ -9,6 +9,8 @@
|
||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
DEB_TEST_TARGET ?= Experimental
|
||||
|
||||
DISTRIBUTION := $(shell dpkg-parsechangelog --format rfc822 | sed -ne "s/^Distribution: //p")
|
||||
ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"lenny squeeze wheezy lucid maverick natty oneiric precise"))
|
||||
DISTRIBUTION := sid
|
||||
@ -32,6 +34,10 @@ CMAKE_OPTS := \
|
||||
-D QGIS_CGIBIN_SUBDIR=/usr/lib/cgi-bin \
|
||||
-D WITH_APIDOC=TRUE
|
||||
|
||||
ifneq (,$(findstring $(DISTRIBUTION),"sid"))
|
||||
-D WITH_PYSPATIALITE=FALSE
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring $(DISTRIBUTION),"lenny squeeze lucid maverick natty oneiric"))
|
||||
CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=TRUE
|
||||
else
|
||||
@ -104,7 +110,7 @@ build-stamp: debian/build/CMakeCache.txt
|
||||
|
||||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
# Code to run the package test suite - and ignore the outcome for now
|
||||
LD_LIBRARY_PATH=$(PWD)/debian/build/output/lib:$(LD_LIBRARY_PATH) $(MAKE) -C debian/build check || true
|
||||
LD_LIBRARY_PATH=$(PWD)/debian/build/output/lib:$(LD_LIBRARY_PATH) xvfb-run -a -n 1 -s "-screen 0 1280x1024x24" $(MAKE) -C debian/build $(DEB_TEST_TARGET) || true
|
||||
else
|
||||
echo Skipping tests.
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user