From 839a93016f2dd8b89076fde1a92e681273a4f9b2 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Tue, 23 Aug 2011 10:28:06 -0400
Subject: [PATCH] * #6714: fixed hudson script

make check must be run from the toplevel of the daemon.
---
 hudson-sflphone-script.sh | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/hudson-sflphone-script.sh b/hudson-sflphone-script.sh
index 4aeea77b79..49c388581a 100755
--- a/hudson-sflphone-script.sh
+++ b/hudson-sflphone-script.sh
@@ -8,6 +8,14 @@ XML_RESULTS="cppunitresults.xml"
 
 set -x
 
+# Compile the plugins
+pushd plugins
+make distclean
+./autogen.sh
+./configure --prefix=/usr
+make -j
+popd
+
 # Compile the daemon
 pushd daemon
 make distclean
@@ -22,13 +30,13 @@ popd
 make clean
 make -j
 make doc
+make check
 popd
 
 # Run the unit tests for the daemon
 pushd daemon/test
 # Remove the previous XML test file
 rm -rf $XML_RESULTS
-make check
 ./run_tests.sh || exit 1
 popd
 
@@ -39,6 +47,7 @@ make distclean
 ./configure --prefix=/usr
 make clean
 make -j 1
+make check
 popd
 
 # SUCCESS
-- 
GitLab