~ubuntu-branches/ubuntu/raring/apt-clone/raring

« back to all changes in this revision

Viewing changes to tests/Makefile

  • Committer: Martin Pitt
  • Date: 2012-12-13 15:20:00 UTC
  • mfrom: (17.1.2 apt-clone)
  • Revision ID: martin@piware.de-20121213152000-0jcz893mj2gbl11o
* Added XS-Testsuite header
* Fixed ownership of testsuite data files
* Redirected test stderr to stdout. python unittest output goes to stderr
  which adt-run considers as a failure. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
all: test
3
3
 
4
4
test:
 
5
        sudo chown -R $$USER:$$USER .
5
6
        pyflakes ../apt-clone ../apt_clone.py
6
7
        set -e; for f in *.py; do \
7
8
                for ver in python3 python; do \
8
 
                        PYTHONPATH=.. $$ver $$f -v ; \
 
9
                        PYTHONPATH=.. $$ver $$f -v 2>&1; \
9
10
                done; \
10
11
        done; \
11
12
        # cruft from the tests