~jibel/ubuntu/raring/software-properties/lp-1153989

« back to all changes in this revision

Viewing changes to tests/Makefile

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-02-15 20:01:57 UTC
  • mfrom: (113.1.1 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130215200157-mq4jx8h6m06bxx98
Tags: 0.92.14.1
Build-depend on python-setuptools.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/make
2
 
 
3
 
all: check
4
 
 
5
 
check:
6
 
        set -e; \
7
 
        find . -name 'test_*.py' | \
8
 
        while read file; do \
9
 
            if [ -x $$file ]; then \
10
 
                echo "Testing $$file $$PWD with python 2"; \
11
 
                python $$file; \
12
 
                echo "Testing $$file $$PWD with python 3"; \
13
 
                python3 $$file; \
14
 
            fi \
15
 
        done
16
 
 
17