Do not abort in tests which take longer then before.
Since 4f5f6d2444
we have nice tool to
collect callgrind results, store them..
Also, make it not necessary to duplicate anything. Any test can be turned
into a performance test by using callgrindStart/callgrindDump. You only
need to duplicate the makefile name in gb_Module_add_perfcheck_targets.
So, if the test is run as part of 'perfcheck', it runs under callgrind,
otherwise it behaves like a regular unit test.
Change-Id: I7acbb855b1823c9a32ba126abb57dccc767ca239
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,test))
|
|
|
|
$(eval $(call gb_Library_add_defs,test,\
|
|
-DOOO_DLLIMPLEMENTATION_TEST \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,test))
|
|
|
|
$(eval $(call gb_Library_use_externals,test,\
|
|
boost_headers \
|
|
cppunit \
|
|
libxml2 \
|
|
valgrind \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_libraries,test,\
|
|
basegfx \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
i18nlangtag \
|
|
sal \
|
|
svt \
|
|
tl \
|
|
utl \
|
|
unotest \
|
|
vcl \
|
|
drawinglayer \
|
|
$(gb_UWINAPI) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,test,\
|
|
test/source/bootstrapfixture \
|
|
test/source/diff/diff \
|
|
test/source/callgrind \
|
|
test/source/xmltesttools \
|
|
test/source/htmltesttools \
|
|
test/source/mtfxmldump \
|
|
test/source/xmlwriter \
|
|
test/source/primitive2dxmldump \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|