summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/run_test.sh
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-05-17 13:27:30 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-17 13:27:30 +0000
commit7bdca0c0aa809200e8edc11a852dee79cb46690f (patch)
treeea0d72925cbfd4108052f0b3c67e7ee0c2d314ba /utils/test/result_collection_api/run_test.sh
parent137ef7912881dc6ebb3cf93ed6f2d6d3cd8fadfa (diff)
parent892a693978fa78c8091e861e246e859d20fe99c4 (diff)
Merge "add unittest framework for supporting unittest in testAPI"
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