diff --git a/.drone.yml b/.drone.yml index 5331fea2ad..a8be756006 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,7 @@ steps: image: signalwire/freeswitch-public-base pull: true commands: + - cat /proc/sys/kernel/core_pattern - ./bootstrap.sh -j - echo "applications/mod_test" >> modules.conf - ./configure @@ -15,7 +16,8 @@ steps: - ./build.sh - cd tests/unit - ./run-tests.sh - - mkdir logs && (mv log_run-tests_*.html logs || true) + - ls -la /cores + - mkdir logs && (mv log_run-tests_*.html logs || true) && (mv backtrace_*.txt logs || true) - echo 0 > run-tests-status.txt - ./collect-test-logs.sh && exit 0 || echo 'Some tests failed' - echo 1 > run-tests-status.txt @@ -42,6 +44,6 @@ trigger: - push --- kind: signature -hmac: a34718dd1e2b9468a845962219ff05cac0c922ddf90d885af557a937a9e412e0 +hmac: ee1de4cb1fa925cf61ac67c76c54d553e4376b3a828480d39ce99a67fabae298 ... diff --git a/tests/unit/collect-test-logs.sh b/tests/unit/collect-test-logs.sh index a46102af72..7c76c74dd5 100755 --- a/tests/unit/collect-test-logs.sh +++ b/tests/unit/collect-test-logs.sh @@ -10,7 +10,12 @@ for name in $logs do logname=$(basename $name) testname=$(echo $logname | awk -F 'log_run-tests_' '{print $2}' | awk -F '.html' '{print $1}') - html+="