Codebase list python-cx-oracle / a706ca1
Update autopkgtest: remove Python 2 test Sophie Brun 4 years ago
3 changed file(s) with 8 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
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
06 python-cx-oracle (7.1-0kali3) kali-dev; urgency=medium
17
28 [ Raphaƫl Hertzog ]
00 #!/bin/sh
11
22 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 }
143
154 test_install_python3() {
165
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
22 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