Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hey,

so I just pushed a patch that allows you to execute just a single test case
from a whole suite.

It is mainly meant for the few cases where executing the whole suite takes
a long time (e.g. export tests with export validation enabled). Please use
it carefully and only during development. Check with a make check or
similar before pushing.

You can use that new feature through the environment variable
CPPUNIT_TEST_NAME which should contain the fully qualified name of the test
case that you want to run.

Examples mentioned in the commit are:

CPPUNIT_TEST_NAME="ScFiltersTest::testOutlineODS
ScFiltersTest::testRangeNameXLS" make
CppunitTest_sc_subsequent_filters_test

that one executes exactly 2 of the 75 tests in subsequent_filters_test.

CPPUNIT_TEST_NAME="ScFiltersTest" make CppunitTest_sc_subsequent_filters_test

would execute all ScFiltersTest cases which can be useful for the few
locations where we have several suites in a single library.

Feel free to comment and improve the implementation.

Regards,
Markus

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.