mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
[#3947] Always use a new XML file for results
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user