Debian Codegraph @

debian/tests/python3

raw symbols SCIP
1 #!/bin/bash
2
3 unset bad
4 for x in $(py3versions -s); do
5 printf "%s testing...\n" "$x"
6 script='import gpg; c = gpg.Context()'
7 if "$x" -c "$script"; then
8 printf "%s OK\n" "$x"
9 else
10 printf "%s FAILED\n" "$x" >&2
11 bad=true
12 fi
13 done
14
15 if [ "$bad" = true ]; then
16 exit 1
17 else
18 exit 0
19 fi