Difference between revisions of "Test Cleanup"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Test Cleanup Project)
(CppUnit 1.12.1)
Line 15: Line 15:
 
* '''TODO:''' In general OOo build environment, no longer set <code>CFLAGS</code> etc. as environment variables; have package-specific <code>OOO_<var>package</var>_CFLAGS</code> etc. and combine those into <code>CFLAGS</code> etc. where necessary (see <code>OOO_STLPORT_CXXFLAGS</code> etc. in <code>cppunit/makefile.mk</code>).
 
* '''TODO:''' In general OOo build environment, no longer set <code>CFLAGS</code> etc. as environment variables; have package-specific <code>OOO_<var>package</var>_CFLAGS</code> etc. and combine those into <code>CFLAGS</code> etc. where necessary (see <code>OOO_STLPORT_CXXFLAGS</code> etc. in <code>cppunit/makefile.mk</code>).
 
* '''TODO:''' Why use <code>cppunittester</code> instead of <code>DllPlugInTester</code>?  (Remove building/delivering <code>DllPlugInTester</code>.)
 
* '''TODO:''' Why use <code>cppunittester</code> instead of <code>DllPlugInTester</code>?  (Remove building/delivering <code>DllPlugInTester</code>.)
 +
* '''TODO:''' Make <code>CppUnit::assertion_traits&lt;rtl::OUString&gt;</code> from <code>smoketestoo_native/smoketest.cxx</code> generally available.
  
 
== <code>testshl2</code> ==
 
== <code>testshl2</code> ==

Revision as of 13:40, 15 January 2010

Test Cleanup Project

See the mission statement mail.

Working on CWS sb118  .

CppUnit 1.12.1

  • Replace existing cppunit and testshl2 combo with latest CppUnit 1.12.1.
  • TODO: Upstream PATCH_FILES (windows.patch?!?).
  • TODO: RPATH in generated libraries and executables.
  • TODO: Improve CPPUNIT_PLUGIN_EXPORT and get rid of version maps (GCC exception problems?).
  • TODO: OOo configure --with-system-cppunit (only if also --with-system-stl!); minimal required version?
  • TODO: cppunit/makefile.mk MY_LIBS = -lm Solaris hack.
  • TODO: In general OOo build environment, no longer set CFLAGS etc. as environment variables; have package-specific OOO_package_CFLAGS etc. and combine those into CFLAGS etc. where necessary (see OOO_STLPORT_CXXFLAGS etc. in cppunit/makefile.mk).
  • TODO: Why use cppunittester instead of DllPlugInTester? (Remove building/delivering DllPlugInTester.)
  • TODO: Make CppUnit::assertion_traits<rtl::OUString> from smoketestoo_native/smoketest.cxx generally available.

testshl2

Unit Tests

  • OOO_SUBSEQUENT_TESTS (build.lst lists local dependencies of those directories, so that modifying a module and then calling “OOO_SUBSEQUENT_TESTS=x build” rebuilds the module and executes the tests).
  • TODO: If Build Environment 2.0 would build directly to solver (instead of local output tree/deliver), that would simplify tests that currently need to take care to test local libraries instead of solver ones (see, for example, OOO_TEST_PREFIX in the services.rdb of stoc/test/uriproc/makefile.mk).
  • TODO: Constructs like “-env:UNO_=$(my_file)” would fail for problematic characters (spaces!) in paths.

Smoke Test

  • Redesign smoketestoo_native to use CppUnit and pre-installed OOo.
  • TODO: For smoketestoo_native/makefile.mk-env:arg-env=$(OOO_LIBRARY_PATH_VAR)"$${{$(OOO_LIBRARY_PATH_VAR)+=$$$(OOO_LIBRARY_PATH_VAR)}}"” mechanism: osl_executeProcess ustrEnvironments members without “=”: all platforms; documentation; documentation of osl_executeProcess_WithRedicrectedIO.
  • TODO: Dynamically create smoketestdoc.sxw?

Pre-Installed OOo

  • TODO: For Sun Hamburg Release Engineering, take MWS archive installation sets from “S:” instead of solver.
  • TODO: PKGFORMAT=installed instead of archive?
Personal tools