add script to run tests
authordrebs <drebs@riseup.net>
Mon, 2 May 2016 01:38:36 +0000 (22:38 -0300)
committerdrebs <drebs@riseup.net>
Mon, 2 May 2016 01:38:36 +0000 (22:38 -0300)
run-test.sh [new file with mode: 0755]

diff --git a/run-test.sh b/run-test.sh
new file mode 100755 (executable)
index 0000000..7cc84d8
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+CLI="python /home/drebs/projetos/leap/repos/soledad/scripts/soledad_test_env/soledad_test_env.py"
+${CLI} couch start
+${CLI} user-db delete
+${CLI} user-db create
+${CLI} shared-db create
+${CLI} token-db create
+${CLI} token-db insert-token
+${CLI} soledad-server start
+
+make soledad-sync-server | grep -v stats | grep -v ping  &
+sleep 5
+make measure-series &
+sleep 5
+make trigger-sync