Skip to content
Myr

test

This file

Path

scripts/test

12 lines · 271 bytes

Last changed by

Cookie support (#73)Tom Christiebefore adoptionfeae0a8

History of this file

Take it

StuffTom Christiebefore adoption30530d4

lines 1–10why, one step back
1#!/bin/sh -e
23export PACKAGE="httpcore"4export PREFIX=""5if [ -d 'venv' ] ; then6 export PREFIX="venv/bin/"7fi89set -x10

Cookie support (#73)Tom Christiebefore adoptionfeae0a8

lines 11–12why, one step back
11PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov tests --cov ${PACKAGE} --cov-report= ${@}
12${PREFIX}coverage report --show-missing --fail-under=100