Update autopkgtest: remove Python 2 test
Sophie Brun
4 years ago
|
0 |
python-cx-oracle (7.1-0kali4) kali-dev; urgency=medium
|
|
1 |
|
|
2 |
* Update autopkgtest: remove Python 2 test
|
|
3 |
|
|
4 |
-- Sophie Brun <[email protected]> Wed, 08 Apr 2020 14:28:57 +0200
|
|
5 |
|
0 | 6 |
python-cx-oracle (7.1-0kali3) kali-dev; urgency=medium
|
1 | 7 |
|
2 | 8 |
[ Raphaƫl Hertzog ]
|
0 | 0 |
#!/bin/sh
|
1 | 1 |
|
2 | 2 |
set -e
|
3 | |
|
4 | |
test_install_python2() {
|
5 | |
|
6 | |
echo "Testing python2 package"
|
7 | |
for py in $(pyversions -r 2>/dev/null) ; do
|
8 | |
cd "$AUTOPKGTEST_TMP" ;
|
9 | |
echo "Testing with $py:" ;
|
10 | |
$py -c "import cx_Oracle; print(cx_Oracle)" ;
|
11 | |
done
|
12 | |
|
13 | |
}
|
14 | 3 |
|
15 | 4 |
test_install_python3() {
|
16 | 5 |
|
0 | |
Test-Command: debian/tests/basic-test.sh test_install_python2
|
1 | |
Depends: python-cx-oracle
|
|
0 |
Test-Command: debian/tests/basic-test.sh test_install_python3
|
|
1 |
Depends: python3-cx-oracle, python3-all
|
2 | 2 |
Restrictions: allow-stderr, superficial
|
3 | |
|
4 | |
Test-Command: debian/tests/basic-test.sh test_install_python3
|
5 | |
Depends: python3-cx-oracle
|
6 | |
Restrictions: allow-stderr, superficial
|