From 4f41660d7e8974ecf59f59b2ae037a1cb71f7aaf Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Thu, 23 Sep 2010 10:39:01 -0400 Subject: [PATCH] [#3947] Always use a new XML file for results --- hudson-sflphone-script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hudson-sflphone-script.sh b/hudson-sflphone-script.sh index 412ea00cbd..b406027be3 100755 --- a/hudson-sflphone-script.sh +++ b/hudson-sflphone-script.sh @@ -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 -- GitLab