summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-23 06:16:13 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-10-23 06:16:13 -0700
commit959d879f05da0e40270782e823435ca6946707ad (patch)
tree9118a1addab84812ff7a3599a2646134f1f22823 /scripts
parent26e6ec20da4e85849d0688db5fd580056ebdfed9 (diff)
downloadqtlocation-mapboxgl-959d879f05da0e40270782e823435ca6946707ad.tar.gz
show more debug information
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_tests.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh
index df0bf25216..fcd7fae096 100755
--- a/scripts/run_tests.sh
+++ b/scripts/run_tests.sh
@@ -2,20 +2,21 @@
set -e
set -o pipefail
-
-
+c
cd build/${BUILDTYPE:-Release}
for TEST in ./test_* ; do
# allow writing core files
ulimit -c unlimited -S
+ ulimit -c
+ cat /proc/sys/kernel/core_pattern
+ sysctl kernel.core_pattern
RESULT=0
${TEST} || RESULT=$?
if [[ ${RESULT} != 0 ]]; then
echo "The program crashed with exit code ${RESULT}. We're now trying to output the core dump."
- ls -la
fi
# output core dump if we got one