[asterisk-commits] pabelanger: testsuite/bamboo/trunk r1879 - /bamboo/trunk/bin/build-asterisk.sh
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Aug 19 14:38:19 CDT 2011
Author: pabelanger
Date: Fri Aug 19 14:38:15 2011
New Revision: 1879
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1879
Log:
Don't delete the testsuite logs before bamboo can use them.
Modified:
bamboo/trunk/bin/build-asterisk.sh
Modified: bamboo/trunk/bin/build-asterisk.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk.sh?view=diff&rev=1879&r1=1878&r2=1879
==============================================================================
--- bamboo/trunk/bin/build-asterisk.sh (original)
+++ bamboo/trunk/bin/build-asterisk.sh Fri Aug 19 14:38:15 2011
@@ -258,6 +258,11 @@
if [ -d testsuite ] ; then
rm -rf testsuite
fi
+ # Check for an existing testsuite tmp directory...
+ if [ -d /tmp/asterisk-testsuite ] ; then
+ # ...and delete it.
+ rm -rf /tmp/asterisk-testsuite
+ fi
echo "*** Running external test suite ***"
svn co http://svn.digium.com/svn/testsuite/asterisk/trunk testsuite
cd testsuite
@@ -271,7 +276,6 @@
${MAKE} -C addons install
./runtests.py
cp *.xml ${TEST_RESULTS_DIR}
- rm -rf /tmp/asterisk-testsuite
${MAKE} -C addons uninstall
cd ..
fi
More information about the asterisk-commits
mailing list