diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-10-24 17:39:18 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-10-24 17:44:51 +0200 |
commit | 0e928b5204ad5e2a8cfc1dd1a993396be0bd9d87 (patch) | |
tree | 1eca3f4f0446c07c38d93049d48a6272b2c989d6 /scripts/run_tests.sh | |
parent | d299e580886353e0813d30f9dee74639f899924a (diff) | |
download | qtlocation-mapboxgl-0e928b5204ad5e2a8cfc1dd1a993396be0bd9d87.tar.gz |
make tests work
Diffstat (limited to 'scripts/run_tests.sh')
-rwxr-xr-x | scripts/run_tests.sh | 5 |
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=$? |