./packages/openofficeorg/3.0/experimental r1294: add option to run API tests
------------------------------------------------------------
revno: 1294
committer: Rene Engelhard <rene@debian.org>
branch nick: debian
timestamp: Mon 2008-10-20 14:00:07 +0200
message:
add option to run API tests
modified:
changelog
rules
=== modified file 'changelog'
--- a/changelog 2008-10-20 09:40:29 +0000
+++ b/changelog 2008-10-20 12:00:07 +0000
@@ -1,13 +1,14 @@
openoffice.org (1:3.0.0-3.4pre) experimental; urgency=low
* ooo-build:
- - update (r14341)
+ - update (r14349)
- no-latex-filter-without-writer2latex.diff: don't include LaTeX stuff
in Writers filter list with --without-writer2latex (closes: #502549)
* debian/rules:
- - update libstlport_gcc.so symlink to be in ure/lib (closes: #502812)
+ - update libstlport_gcc.so symlink to be in ure/lib (closes: #502812)
+ - add option to run the API tests (cwscheckapi)
- -- Rene Engelhard <rene@debian.org> Mon, 20 Oct 2008 01:40:23 +0200
+ -- Rene Engelhard <rene@debian.org> Mon, 20 Oct 2008 13:57:09 +0200
openoffice.org (1:3.0.0-3) experimental; urgency=low
=== modified file 'rules'
--- a/rules 2008-10-20 09:40:29 +0000
+++ b/rules 2008-10-20 12:00:07 +0000
@@ -151,6 +151,7 @@
USE_OOO_BUILD_DESKTOPS=n
PACKAGE_SDK=y
RUN_SMOKETEST=n
+RUN_API_TESTS=n
RUN_UNIT_TESTS=n
USE_LIBCURL4=y
USE_SYSTEM_LIBSVG=y
@@ -468,6 +469,9 @@
ifeq "$(RUN_SMOKETEST)" "y"
BUILD_DEPS += , xvfb, xbase-clients, xfonts-base
endif
+ifeq "$(RUN_API_TESTS)" "y"
+ BUILD_DEPS += , tcsh
+endif
ifneq "$(BUILD_ONLY_EN_US)" "y"
ifeq (lang=,$(findstring lang=,$(DEB_BUILD_OPTIONS)))
@@ -1569,6 +1573,15 @@
fi && \
rm -rf $$TEMP
endif
+ifeq "$(ENABLE_JAVA)" y"
+ ifeq "$(RUN_API_TESTS)" "y"
+ # API tests
+ cd (SOURCE_TREE) && \
+ export PATH=$(BUILD_PATH); \
+ . $(CURDIR)/$(SOURCE_TREE)/*.sh; \
+ solenv/bin/cwscheckapi -o -a
+ endif
+endif
endif
touch $@
Reply to: