aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/test.sh b/test.sh
new file mode 100755
index 0000000..19aa19a
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+function run_test {
+ if $1 $2
+ then
+ date +"%Y-%m-%d %H:%M:%S Test of $3 was succesfull" >>tests.log
+ else
+ date +"%Y-%m-%d %H:%M:%S Test of $3 failed" >>tests.log
+ fi
+}
+run_test python bot/tests/run_test.py MeetBot
+run_test python bot/Reminder/run_test.py Reminder
+pushd site
+run_test "bundle exec" "rake" WebApp
+popd