swift/.unittests
Tim Burke 86952dd3ed tests: Stop invoking python just to get the real source directory
While we're at it, stop checking for a seven-year-old version of nose --
we already list a newer version in test-requirements.txt anyway.

Change-Id: I97beace3094f11286730b99653dc1e8f699c5aec
2019-10-15 15:08:42 -07:00

11 lines
251 B
Bash
Executable File

#!/bin/bash
TOP_DIR=$(dirname $(realpath "$0"))
cd $TOP_DIR/test/unit
nosetests --exe --with-coverage --cover-package swift --cover-erase --cover-branches --cover-html --cover-html-dir="$TOP_DIR"/cover $@
rvalue=$?
rm -f .coverage
cd -
exit $rvalue