KDE_3_3_BRANCH: kdeedu/debian
CVS commit by benb:
Sanity tests for boost scripting.
M +2 -0 changelog 1.16.2.13
M +9 -1 rules 1.14.2.6
--- kdeedu/debian/changelog #1.16.2.12:1.16.2.13
@@ -4,4 +4,6 @@
* The moon images are now licensed under the GPL (closes: #266404).
* Built against boost 1.32.0.
+ * Added a test in debian/rules to make the build fail if the boost libraries
+ were not built.
-- Ben Burton <bab@debian.org> Sun, 16 Jan 2005 20:45:11 +1100
--- kdeedu/debian/rules #1.14.2.5:1.14.2.6
@@ -47,6 +47,8 @@
# Required since boost.python is broken on arm (#245893).
BOOST_FLAGS=--disable-kig-python-scripting
+ BOOST_TEST=true
else
- BOOST_FLAGS=
+ USING_BOOST=1
+ BOOST_TEST=-e $(objdir)/kig/scripting/libscripting.la
endif
@@ -98,4 +100,10 @@
$(MAKE)
+ # Ensure that the boost scripting library built okay.
+ if ! test $(BOOST_TEST); then \
+ echo "ERROR: The boost scripting library was not built."; \
+ false; \
+ fi
+
touch build-stamp
Reply to: