Skip to content

Commit

Permalink
TravisCI: list core dump for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov committed Jan 12, 2019
1 parent 97d8ab5 commit 8da046a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,4 @@ $EXECUTOR bash -lc "{ [ -r /root/.bashrc ] && source /root/.bashrc || true ; } ;
&& make -k -j2 \
&& cd bin/x86-$CONFIG && ls "

$EXECUTOR sh -c "cd bin/x86-$CONFIG && env DISPLAY=:0 LSAN_OPTIONS='suppressions=asan.supp fast_unwind_on_malloc=0' ./trikKernelTests$SUFFIX"
$EXECUTOR sh -c "cd bin/x86-$CONFIG && env DISPLAY=:0 LSAN_OPTIONS='suppressions=asan.supp fast_unwind_on_malloc=0' ./trikCameraPhotoTests$SUFFIX"
$EXECUTOR sh -c "cd bin/x86-$CONFIG && env DISPLAY=:0 LSAN_OPTIONS='suppressions=asan.supp fast_unwind_on_malloc=0' ./trikCommunicatorTests$SUFFIX"
$EXECUTOR sh -c "cd bin/x86-$CONFIG && env DISPLAY=:0 LSAN_OPTIONS='suppressions=asan.supp fast_unwind_on_malloc=0' ./trikScriptRunnerTests$SUFFIX"
$EXECUTOR env DISPLAY=:0 LSAN_OPTIONS='suppressions=asan.supp fast_unwind_on_malloc=0' sh -c 'cd bin/x86-$CONFIG && for t in trikKernelTests trikCameraPhotoTests trikCommunicatorTests trikScriptRunnerTests ; do ./$t$SUFFIX || { errCode=$? ; [ -e core ] && gdb ./$t$SUFFIX core -ex "thread apply all bt" -ex "quit" || true ; rm -f core ; ( exit $errCode ) ; } ; done'

0 comments on commit 8da046a

Please sign in to comment.