summaryrefslogtreecommitdiff
path: root/scripts/run_tests.sh
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-24 17:39:18 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-10-24 17:44:51 +0200
commit0e928b5204ad5e2a8cfc1dd1a993396be0bd9d87 (patch)
tree1eca3f4f0446c07c38d93049d48a6272b2c989d6 /scripts/run_tests.sh
parentd299e580886353e0813d30f9dee74639f899924a (diff)
downloadqtlocation-mapboxgl-0e928b5204ad5e2a8cfc1dd1a993396be0bd9d87.tar.gz
make tests work
Diffstat (limited to 'scripts/run_tests.sh')
-rwxr-xr-xscripts/run_tests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh
index 6b42b79911..e107000761 100755
--- a/scripts/run_tests.sh
+++ b/scripts/run_tests.sh
@@ -10,7 +10,10 @@ for TEST in ./test_* ; do
ulimit -c unlimited -S
echo 'ulimit -c: '`ulimit -c`
echo '/proc/sys/kernel/core_pattern: '`cat /proc/sys/kernel/core_pattern`
- sysctl kernel.core_pattern
+
+ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
+ sysctl kernel.core_pattern
+ fi
RESULT=0
${TEST} || RESULT=$?