Bug#1001660: bcolz: autopkgtest python3-bcolz fails to run any tests
Source: bcolz
Version: 1.2.1+ds2-7
Severity: normal
Tags: patch
In the script debian/tests/python3-bcolz, it reads:
cd /
for py in $(py3versions -r 2>/dev/null); do
However, py3versions -r fails to return any python versions if it is
not run from the top of the source tree, and this error is invisible.
The correction is simple: run the cd command after the py3versions -r:
#!/bin/sh
set -e
for py in $(py3versions -r 2>/dev/null); do
cd /
echo "[*] testing $py:"
$py -c 'import bcolz; bcolz.test(verbose=True)' 2>&1
done
Best wishes,
Julian
Reply to: