File: test_docs.sh

package info (click to toggle)
ormar 0.20.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,136 kB
  • sloc: python: 23,758; makefile: 34; sh: 14
file content (12 lines) | stat: -rw-r--r-- 163 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

PACKAGE="docs_src"

PREFIX=""
if [ -d 'venv' ] ; then
    PREFIX="venv/bin/"
fi

set -x

PYTHONPATH=. ${PREFIX}pytest --ignore venv docs_src/ "${@}"