diff options
Diffstat (limited to 'scripts/run_tests.sh')
-rwxr-xr-x | scripts/run_tests.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh deleted file mode 100755 index a4af39d5a9..0000000000 --- a/scripts/run_tests.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -set -e -set -o pipefail - -if [ `uname -s` = 'Darwin' ]; then HOST=${HOST:-osx} ; else HOST=${HOST:-linux} ; fi - -CMD=$@ -shift - -# allow writing core files -ulimit -c unlimited -S -echo 'ulimit -c: '`ulimit -c` -if [ -f /proc/sys/kernel/core_pattern ]; then - echo '/proc/sys/kernel/core_pattern: '`cat /proc/sys/kernel/core_pattern` -fi - -if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then - sysctl kernel.core_pattern -fi - -# install test server dependencies -if [ ! -d "test/node_modules/express" ]; then - (cd test; npm install express@4.11.1) -fi - -if command -v gdb >/dev/null 2>&1; then - gdb -batch -return-child-result -ex 'set print thread-events off' \ - -ex 'run' -ex 'thread apply all bt' --args ${CMD} ; -else - ${CMD} ; -fi |