Bug#809442: autopkgtest: Add a way to run the same test script in multiple environments

2015-12-31 Thread Martin Pitt
Hello Raphael, Raphael Hertzog [2015-12-31 9:37 +0100]: > Except that I run a shell script where I execute python scripts and I just > want to ensure that they work... in my case /usr/bin/django-admin has some > magical > code to figure out whether python3 is available or not and run the right >

Bug#809442: autopkgtest: Add a way to run the same test script in multiple environments

2015-12-31 Thread Raphael Hertzog
Hi Martin, thanks for your quick answer. On Thu, 31 Dec 2015, Martin Pitt wrote: > This is actually what "Test-Command:" is intended for. For your case > you'd only have debian/tests/django.py (without a hashbang) and run it > like > > Test-Command: python debian/tests/django.py > Depends: p

Bug#809442: autopkgtest: Add a way to run the same test script in multiple environments

2015-12-30 Thread Martin Pitt
Hello Raphaël, Raphaël Hertzog [2015-12-30 19:33 +0100]: > I just added some DEP-8 tests to python-django and it would have been nice > if I could have reused the same script in multiple environments (python2 > only, python3 only). Right now I created symlinks to the same script > and the sole pur

Bug#809442: autopkgtest: Add a way to run the same test script in multiple environments

2015-12-30 Thread Raphaël Hertzog
Package: autopkgtest Version: 3.19 Severity: wishlist I just added some DEP-8 tests to python-django and it would have been nice if I could have reused the same script in multiple environments (python2 only, python3 only). Right now I created symlinks to the same script and the sole purpose of the