summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-01-21 19:30:58 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-02-04 10:49:05 +0100
commit8a1fce547e9ad0bf750418c844c9b23a3ee6d8dd (patch)
treee3f0e8f4b16071667c6a4fdf706740335500dbc6 /scripts
parent5503aef6907b1fea74d6bdbe696f02b9f016f752 (diff)
downloadqtlocation-mapboxgl-8a1fce547e9ad0bf750418c844c9b23a3ee6d8dd.tar.gz
rearrange tests and add storage tests
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_tests.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh
index e107000761..c5eb4e0ec2 100755
--- a/scripts/run_tests.sh
+++ b/scripts/run_tests.sh
@@ -3,13 +3,13 @@
set -e
set -o pipefail
-cd build/${BUILDTYPE:-Release}
-
-for TEST in ./test_* ; do
+for TEST in build/${BUILDTYPE:-Release}/test* ; do
# allow writing core files
ulimit -c unlimited -S
echo 'ulimit -c: '`ulimit -c`
- echo '/proc/sys/kernel/core_pattern: '`cat /proc/sys/kernel/core_pattern`
+ 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