[#3947] Always use a new XML file for results

This commit is contained in:
Emmanuel Milou
2010-09-23 10:39:01 -04:00
parent 75b682f49b
commit 4f41660d7e

View File

@ -4,6 +4,8 @@
#
# Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
XML_RESULTS="cppunitresults.xml"
set -x
# Compile the daemon
@ -23,6 +25,8 @@ popd
# Run the unit tests for the daemon
pushd sflphone-common/test
# Remove the previous XML test file
rm -rf $(XML_RESULTS)
make check
# if at least one test failed, exit
./test --xml || exit 1