summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/run_test.sh
blob: 6006fcf8b21bc25b79b788442f74e3a637c3a9ca (plain)
1
2
3
4
5
6
7
8
9
10
#! /bin/bash

# Before run this script, make sure that testtools and discover
# had been installed in your env
# or else using pip to install them as follows:
# pip install testtools, discover

find . -type f -name "*.pyc" -delete
testrargs="discover ./tests/unit"
python -m testtools.run $testrargs