File: test-against-python

package info (click to toggle)
golang-github-tv42-zbase32 0.0~git20160707.5015726-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 120 kB
  • sloc: sh: 13; makefile: 3
file content (10 lines) | stat: -rwxr-xr-x 226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

if [ ! -e virtualenv/ok ]; then
    python -m virtualenv virtualenv
    ./virtualenv/bin/pip install zbase32
    touch virtualenv/ok
fi

PATH="$PWD/virtualenv/bin:$PATH" go test -python -test.run=Python "$@"