~xubuntu-dev/ubuntu-cdimage/xubuntu-base

« back to all changes in this revision

Viewing changes to run-tests

  • Committer: Michael Vogt
  • Date: 2014-07-29 08:42:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1443.
  • Revision ID: michael.vogt@ubuntu.com-20140729084213-5dxifhbadvail8cu
run-tests: use dpkg-checkbuilddeps to ensure all test dependencies are available

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
 
3
 
# Depends:
4
 
#  dctrl-tools,
5
 
#  python,
6
 
#  python-mock,
7
 
#  python3,
8
 
#  python3 (>= 3.3) | python3-mock,
9
 
#  procmail,
10
 
#  squashfs-tools
 
3
set -e
 
4
 
 
5
# ensure we have our test dependencies
 
6
dpkg-checkbuilddeps -d 'dctrl-tools, python, python-mock, python3, python3 (>= 3.3) | python3-mock, procmail, squashfs-tools' /dev/null
11
7
 
12
8
if [ -z "$*" ]; then
13
9
        set -- discover cdimage.tests