From 410b32ff859bcb63427d6365d78f896cbeda19d6 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 20 Jul 2018 19:00:27 +0200 Subject: [PATCH] make script runnable in one terminal, without server output garbling up test results. This won't work well on CI server but makes it clear to run locally --- run.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/run.sh b/run.sh index 065d41c569..bc39208384 100644 --- a/run.sh +++ b/run.sh @@ -1,6 +1,4 @@ -sh synapse/clear.sh -sh synapse/start.sh -sh riot/start.sh -node start.js -sh riot/stop.sh -sh synapse/stop.sh \ No newline at end of file +tmux \ + new-session "sh riot/stop.sh; sh synapse/stop.sh; sh synapse/clear.sh; sh synapse/start.sh; sh riot/start.sh; read"\; \ + split-window "sleep 5; node start.js; sh riot/stop.sh; sh synapse/stop.sh; read"\; \ + select-layout even-vertical