debian/0000755000000000000000000000000012233572230007165 5ustar debian/patches/0000755000000000000000000000000012233572046010621 5ustar debian/patches/0001-runner-Exit-with-code-2-if-any-test-failed.patch0000644000000000000000000000111012233536334022031 0ustar From aa95b24ae91c8be5e2e832fd0c460da06fb710fe Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 25 Oct 2013 10:42:51 -0400 Subject: [PATCH] runner: Exit with code 2 if any test failed Suggested by Iain Lane for use in Ubuntu Jenkins runner. --- src/gnome-desktop-testing-runner.c | 2 ++ 1 file changed, 2 insertions(+) --- a/src/gnome-desktop-testing-runner.c +++ b/src/gnome-desktop-testing-runner.c @@ -482,6 +482,9 @@ g_clear_error (&local_error); return 1; } + + if (app->n_failed_tests > 0) + return 2; return 0; } debian/patches/series0000644000000000000000000000006612233536334012040 0ustar 0001-runner-Exit-with-code-2-if-any-test-failed.patch debian/rules0000755000000000000000000000076312233572230010253 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk binary-post-install/gnome-desktop-testing:: rm $(CURDIR)/debian/gnome-desktop-testing/usr/lib/gnome-desktop-testing/libgsystem.la debian/control.in0000644000000000000000000000224212233572225011201 0ustar Source: gnome-desktop-testing Section: gnome Priority: optional Maintainer: Debian GNOME Maintainers Uploaders: Iain Lane Build-Depends: autotools-dev, cdbs, debhelper (>= 8.0.0), gnome-pkg-tools (>= 0.6), libgirepository1.0-dev, libglib2.0-dev (>= 2.34.0) Standards-Version: 3.9.4 Homepage: https://wiki.gnome.org/GnomeGoals/InstalledTests Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/packages/unstable/gnome-desktop-testing Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/gnome-desktop-testing/ Package: gnome-desktop-testing Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: runner for GNOME installed tests The GNOME desktop testing runner provides an execution harness for GNOME installed tests. . These tests are useful for verifying the functionality of software as installed and packaged, and complement rather than replace build-time ('make check') tests. For example you may wish to run the installed tests from a DEP-8 autopkgtest testsuite as a form of regression testing. debian/watch0000644000000000000000000000017212162530132010212 0ustar version=3 http://ftp.gnome.org/pub/gnome/sources/gnome-desktop-testing/([\d\.]+)/gnome-desktop-testing-([\d\.]+)\.tar\.xz debian/compat0000644000000000000000000000000212162526776010402 0ustar 8 debian/source/0000755000000000000000000000000012233572046010472 5ustar debian/source/format0000644000000000000000000000001412162526776011712 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000100412233572210011030 0ustar gnome-desktop-testing (2013.1-2) unstable; urgency=low [ Jeremy Bicha ] * Update homepage [ Iain Lane ] * debian/patches/0001-runner-Exit-with-code-2-if-any-test-failed.patch: Backport from upstream to actually exit with a bad status if any tests fail, rather than 0. -- Iain Lane Mon, 28 Oct 2013 23:32:51 +0000 gnome-desktop-testing (2013.1-1) unstable; urgency=low * Initial release (Closes: #713959) -- Iain Lane Wed, 26 Jun 2013 10:19:11 +0100 debian/copyright0000644000000000000000000000267412162526776011150 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gnome-desktop-testing Source: https://live.gnome.org/GnomeGoals/InstalledTests Files: src/gnome-desktop-testing-runner.c Copyright: 2011 Colin Walters License: LGPL-2+ Files: src/libgsystem/* Copyright: 2012-13 Colin Walters 2012 William Jon McCann 2012 Red Hat, Inc. 2012 Canonical Limited License: LGPL-2+ Files: debian/* Copyright: 2013 Iain Lane License: LGPL-2+ License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. debian/control0000644000000000000000000000251412233574004010573 0ustar # This file is autogenerated. DO NOT EDIT! # # Modifications should be made to debian/control.in instead. # This file is regenerated automatically in the clean target. Source: gnome-desktop-testing Section: gnome Priority: optional Maintainer: Debian GNOME Maintainers Uploaders: Iain Lane Build-Depends: autotools-dev, cdbs, debhelper (>= 8.0.0), gnome-pkg-tools (>= 0.6), libgirepository1.0-dev, libglib2.0-dev (>= 2.34.0) Standards-Version: 3.9.4 Homepage: https://wiki.gnome.org/GnomeGoals/InstalledTests Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/packages/unstable/gnome-desktop-testing Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/gnome-desktop-testing/ Package: gnome-desktop-testing Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: runner for GNOME installed tests The GNOME desktop testing runner provides an execution harness for GNOME installed tests. . These tests are useful for verifying the functionality of software as installed and packaged, and complement rather than replace build-time ('make check') tests. For example you may wish to run the installed tests from a DEP-8 autopkgtest testsuite as a form of regression testing.