You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2015/04/07 21:34:53 UTC
svn commit: r1671929 - /qpid/dispatch/trunk/bin/test.sh
Author: kgiusti
Date: Tue Apr 7 19:34:53 2015
New Revision: 1671929
URL: http://svn.apache.org/r1671929
Log:
NO-JIRA: allow extra cmake parameters to test.sh
Run the full ctest test suite before attempting to install.
Modified:
qpid/dispatch/trunk/bin/test.sh
Modified: qpid/dispatch/trunk/bin/test.sh
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/bin/test.sh?rev=1671929&r1=1671928&r2=1671929&view=diff
==============================================================================
--- qpid/dispatch/trunk/bin/test.sh (original)
+++ qpid/dispatch/trunk/bin/test.sh Tue Apr 7 19:34:53 2015
@@ -34,11 +34,10 @@ rm -rf $INSTALL_DIR
mkdir $BUILD_DIR
cd $BUILD_DIR
-cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DCMAKE_BUILD_TYPE=Debug $SOURCE_DIR
+cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DCMAKE_BUILD_TYPE=Debug ${DISPATCH_CMAKE_EXTRA_ARGS} $SOURCE_DIR
make -j4
-make install
-cd tests
-# Run unit tests on the build.
-ctest -VV -E system_tests
+# Test the build.
+ctest -VV
# Run system tests on the install.
+make install
python $INSTALL_DIR/lib/qpid-dispatch/tests/run_system_tests.py
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org