You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

run_python_test.sh 298 B

1234567891011121314151617
  1. #!/bin/bash
  2. set -e
  3. BASEDIR=$(readlink -f "$(dirname "$0")"/..)
  4. function python_test() {
  5. pip3 install --upgrade pip
  6. pushd "${BASEDIR}"/imperative/python >/dev/null
  7. pip3 install -e '.[ci]'
  8. export PYTHONPATH=.
  9. ./test/run.sh $1
  10. popd >/dev/null
  11. }
  12. python_test $1