File: test_install_python3.sh

package info (click to toggle)
pyside2 5.15.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,592 kB
  • sloc: python: 223,884; cpp: 80,354; xml: 17,282; sh: 73; makefile: 39; javascript: 16
file content (10 lines) | stat: -rwxr-xr-x 200 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
  
set -e

echo "Testing python3 package $1"
for py in $(py3versions -d 2>/dev/null) ; do
    cd "$AUTOPKGTEST_TMP" ;
    echo "Testing with $py:" ;
    $py -c "import $2; print($2)" ;
done