summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-11 22:43:16 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-11 22:43:16 +0300
commited4757145ecdb7818ea2c39455a07d3769dbb4bc (patch)
treeebd6f760e0467b7c7e453479c5783856e894d567
parent7cf130e2deb98987925a6682203a4773988daaf9 (diff)
downloadplus-ed4757145ecdb7818ea2c39455a07d3769dbb4bc.tar.gz
plus-ed4757145ecdb7818ea2c39455a07d3769dbb4bc.tar.bz2
plus-ed4757145ecdb7818ea2c39455a07d3769dbb4bc.tar.xz
plus-ed4757145ecdb7818ea2c39455a07d3769dbb4bc.zip
Skip runtests in shell runners.
-rwxr-xr-xtools/ci/scripts/runtests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ci/scripts/runtests.sh b/tools/ci/scripts/runtests.sh
index 252faa208..469bbadea 100755
--- a/tools/ci/scripts/runtests.sh
+++ b/tools/ci/scripts/runtests.sh
@@ -1,5 +1,10 @@
#!/bin/bash
+if [[ ${CI_RUNNER_TAGS} != *"docker"* ]]; then
+ echo "Running from shell. Skipping run tests $*"
+ exit 0
+fi
+
export SDL_VIDEODRIVER="dummy"
ulimit -c unlimited -S
ulimit -c unlimited