~mitya57/ubuntu/trusty/dh-python/tests-dependencies

« back to all changes in this revision

Viewing changes to .pc/drop_nonexisting_versions.patch/tests/Makefile

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-11-05 08:52:12 UTC
  • mfrom: (4.1.10 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131105085212-94bvsjcswdwvzuo7
Tags: 1.20131021-1ubuntu2
Add drop_nonexisting_versions.patch: In tests/Makefile, drop Python 2.6
and 3.2 as supported, we do not have them in Debian and Ubuntu any more.
(Closes: #727674)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
# hardcode default/supported Python versions to make tests more reliable
 
4
# Note that all these packages have to be installed during tests
 
5
export DEBPYTHON_DEFAULT=2.7
 
6
export DEBPYTHON_SUPPORTED=2.6,2.7
 
7
export DEBPYTHON3_DEFAULT=3.3
 
8
export DEBPYTHON3_SUPPORTED=3.2,3.3
 
9
 
 
10
# enable or disable tests here:
 
11
TESTS := test101 test201 test202 test203 test204 test205 test206 test207 test301 test302 test303 test304
 
12
 
 
13
all: $(TESTS)
 
14
 
 
15
test%:
 
16
        make -C t$* run
 
17
        make -C t$* check
 
18
 
 
19
clean-test%:
 
20
        make -C t$* clean
 
21
 
 
22
clean: $(TESTS:%=clean-%)
 
23
        rm -f *\.dsc *\.tar\.gz *\.build *\.changes *\.deb
 
24
        @find . -prune -name '*.egg-info' -exec rm -rf '{}' ';' || true
 
25
 
 
26
.PHONY: clean