mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
CI: Add options to initialize and cleanup database to runTestsuite.sh
Change-Id: I352333233bab5377723bf37d490ba84fc55bc853
This commit is contained in:
@@ -9,7 +9,7 @@ pushd $TESTSUITE_DIR
|
||||
./cleanup-test-remnants.sh
|
||||
|
||||
if [ $REALTIME -eq 1 ] ; then
|
||||
$CIDIR/setupRealtime.sh
|
||||
$CIDIR/setupRealtime.sh --initialize-db=${INITIALIZE_DB:?0}
|
||||
fi
|
||||
|
||||
export PYTHONPATH=./lib/python/
|
||||
@@ -17,7 +17,7 @@ echo "Running tests ${TESTSUITE_COMMAND}"
|
||||
./runtests.py --cleanup ${TESTSUITE_COMMAND} | contrib/scripts/pretty_print --no-color --no-timer --term-width=120 --show-errors || :
|
||||
|
||||
if [ $REALTIME -eq 1 ] ; then
|
||||
$CIDIR/teardownRealtime.sh
|
||||
$CIDIR/teardownRealtime.sh --cleanup-db=${CLEANUP_DB:?0}
|
||||
fi
|
||||
|
||||
if [ -f core* ] ; then
|
||||
|
Reference in New Issue
Block a user