aboutsummaryrefslogtreecommitdiff
path: root/run_tests.sh
diff options
context:
space:
mode:
authorPjotr Prins2017-07-09 07:38:29 +0000
committerPjotr Prins2017-07-09 07:38:29 +0000
commite0671a336595deddaa287a1f1f4f718897d01b90 (patch)
tree201a1fc6cc8a194e04651804cb0027c1844cfd7f /run_tests.sh
parent1311f55dd359036f5e2ddf83784ce54c8dff3cd7 (diff)
downloadpangemma-e0671a336595deddaa287a1f1f4f718897d01b90.tar.gz
Add test framework based on shunit2
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/run_tests.sh b/run_tests.sh
new file mode 100755
index 0000000..e8b7d49
--- /dev/null
+++ b/run_tests.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+# download shunit2 in order to run tests:
+# curl -L "https://dl.dropboxusercontent.com/u/7916095/shunit2-2.0.3.tgz" | tar zx --overwrite
+
+cd test
+./test_suite.sh | tee /dev/stderr | grep -q 'success rate: 100%'