On 11/24/2011 12:25 PM, Michael Meeks wrote:
        I would suggest two things:

        a) we can add an environment variable and check for it in
           gnumake such that only one set of tests is run:

        make TEST_SUBSET=filters-test unitcheck

        or somesuch.

        b) we could (try) to hack cppunit to stringify the test-name in
           it's macros; so you could specify just one test to run:

        make TEST_SUBSET=filters-test TESTS=testDatabaseRanges unitcheck

        And do some cunning filtering somewhere there - might require more
cppunit patching / tweaking [ if that is not there already, perhaps it
is ].

If you want to execute the CppUnit tests in some file like sc/CppunitTest_sc_filters_test.mk you can

cd sc && make -r "${SRC_ROOT?}/workdir/${INPATH?}/CppunitTest/sc_filters.test.test

Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to