~ubuntu-branches/debian/sid/pyrlp/sid

« back to all changes in this revision

Viewing changes to debian/tests/smoke-python2

  • Committer: Package Import Robot
  • Author(s): Ben Finney
  • Date: 2017-07-15 05:25:42 UTC
  • Revision ID: package-import@ubuntu.com-20170715052542-wvm6yh0gaf0k33u3
Tags: 0.5.1-1
* The “Zuhair Kutbi” release.
* Initial release.
  Closes: bug#866168.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
#
 
3
# debian/tests/smoke-python2
 
4
# Part of Debian ‘pyrlp’ package.
 
5
#
 
6
# Copyright © 2016–2017 Ben Finney <bignose@debian.org>
 
7
# This is free software: you may copy, modify, and/or distribute this work
 
8
# under the terms of the GNU General Public License as published by the
 
9
# Free Software Foundation; version 3 of that license or any later version.
 
10
# No warranty expressed or implied.
 
11
#
 
12
# Smoke test for package in Python 2 environments.
 
13
 
 
14
set -o errexit
 
15
set -o errtrace
 
16
set -o nounset
 
17
 
 
18
DISTRIBUTION_NAME=rlp
 
19
MODULE_NAMES=(
 
20
        rlp
 
21
        )
 
22
 
 
23
test_opts="--distribution=$DISTRIBUTION_NAME"
 
24
for mod in ${MODULE_NAMES[@]} ; do
 
25
    # Accumulate the module names.
 
26
    test_opts="$test_opts --module=$mod"
 
27
done
 
28
 
 
29
for py in $(pyversions -i) ; do
 
30
    printf "Python command: %s\n" $py
 
31
    $py debian/tests/smoke_test.py $test_opts
 
32
    printf "\n"
 
33
done
 
34
 
 
35
 
 
36
# Local variables:
 
37
# coding: utf-8
 
38
# mode: shell-script
 
39
# End:
 
40
# vim: fileencoding=utf-8 filetype=sh :