CI: Add teardownRealtime

Change-Id: I2fe55c38607eaec2fbf69ef23a5019e0c443a64b
This commit is contained in:
George Joseph
2018-07-17 03:03:02 -06:00
parent a9cef123d9
commit 0af4a558da
3 changed files with 13 additions and 1 deletions

View File

@@ -16,6 +16,10 @@ export PYTHONPATH=./lib/python/
echo "Running tests ${TEST_COMMAND}"
./runtests.py --cleanup ${TEST_COMMAND} | contrib/scripts/pretty_print --no-color --no-timer --term-width=120 --show-errors || :
if [ $REALTIME -eq 0 ] ; then
$CIDIR/teardownRealtime.sh
fi
if [ -f core* ] ; then
echo "*** Found a core file after running unit tests ***"
/var/lib/asterisk/scripts/ast_coredumper --no-default-search core*