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