qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r656443 - in /incubator/qpid/trunk/qpid/cpp: Makefile.am src/tests/python_tests
Date Wed, 14 May 2008 21:51:28 GMT
Author: aconway
Date: Wed May 14 14:51:28 2008
New Revision: 656443

URL: http://svn.apache.org/viewvc?rev=656443&view=rev
Log:
Python tests running in rpmbuild.

Modified:
    incubator/qpid/trunk/qpid/cpp/Makefile.am
    incubator/qpid/trunk/qpid/cpp/src/tests/python_tests

Modified: incubator/qpid/trunk/qpid/cpp/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/Makefile.am?rev=656443&r1=656442&r2=656443&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/Makefile.am (original)
+++ incubator/qpid/trunk/qpid/cpp/Makefile.am Wed May 14 14:51:28 2008
@@ -30,7 +30,7 @@
 
 rpmbuild: $(SPEC) dist-gzip
 	mkdir -p $(RPMDIRS)
-	rpmbuild $(RPMMACROS) $(RPMOPTS) $(SPEC)
+	QPID_PYTHON_DIR=$(abs_top_srcdir)/../python rpmbuild $(RPMMACROS) $(RPMOPTS) $(SPEC)
 if HAS_RPMLINT
 	rpmlint `find rpm -name '*.rpm'`
 else

Modified: incubator/qpid/trunk/qpid/cpp/src/tests/python_tests
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/tests/python_tests?rev=656443&r1=656442&r2=656443&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/tests/python_tests (original)
+++ incubator/qpid/trunk/qpid/cpp/src/tests/python_tests Wed May 14 14:51:28 2008
@@ -3,7 +3,7 @@
 QPID_PORT=${QPID_PORT:-5672}
 PYTHON_TESTS=${PYTHON_TESTS:-$*}
 MY_DIR=$(dirname $(which $0))
-PYTHON_DIR=${MY_DIR}/../../../python
+PYTHON_DIR=${QPID_PYTHON_DIR:-${MY_DIR}/../../../python}
 
 run() {
     SPEC=$1



Mime
View raw message