summaryrefslogtreecommitdiffstats
path: root/test/pacman/pmtest.py
diff options
context:
space:
mode:
authorJeremy Heiner <scalaprotractor@gmail.com>2013-10-12 18:44:30 +0200
committerAllan McRae <allan@archlinux.org>2013-10-14 05:01:15 +0200
commit372e26118f298f38b45c244fdb77785245ceefca (patch)
treed316a7d56ae1053b33c5a10fb8c161036e122667 /test/pacman/pmtest.py
parent807f014d777fbcc7b43fa5159a8b0d12a44d63ae (diff)
downloadpacman-372e26118f298f38b45c244fdb77785245ceefca.tar.gz
pacman-372e26118f298f38b45c244fdb77785245ceefca.tar.xz
Bail early with a clear error message if Python runtime isn't 2.7+.
Prior to this a test that used a feature too new for the runtime would blow up when it was "exec"d (possibly in the middle of a run of a bunch of tests) with an error message that was not very helpful. Remove Python 2.5 and 2.6 runtimes from the list configure searches. 2.5 suffers the problem described above. The code currently will run on 2.6 but, as was noted on the dev list, that runtime is at the end of its life, so 2.7 is a better cutoff. Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/pmtest.py')
0 files changed, 0 insertions, 0 deletions