summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/run_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/result_collection_api/run_test.sh')
-rw-r--r--utils/test/result_collection_api/run_test.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/test/result_collection_api/run_test.sh b/utils/test/result_collection_api/run_test.sh
new file mode 100644
index 000000000..6006fcf8b
--- /dev/null
+++ b/utils/test/result_collection_api/run_test.sh
@@ -0,0 +1,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 \ No newline at end of file