office-gobmx/javaunohelper/Module_javaunohelper.mk
Robert Antoni Buj i Gelonch 2d8348d298 javaunohelper: migrate ComponentBase_Test to JUnit
Use -XX:MaxGCPauseMillis=50 in conjunction with Thread.sleep(51) to wait 51ms
after a GC call, instead of waiting 10s.

http://docs.oracle.com/javase/1.5.0/docs/guide/vm/gc-ergonomics.html

$ make JunitTest_juh

Change-Id: Id2cdada0e493fd450aab5dbec164502e0173857f
Reviewed-on: https://gerrit.libreoffice.org/11593
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2014-09-23 19:29:38 +00:00

31 lines
722 B
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_Module_Module,javaunohelper))
ifneq ($(ENABLE_JAVA),)
$(eval $(call gb_Module_add_targets,javaunohelper,\
Library_juh \
Jar_juh \
))
$(eval $(call gb_Module_add_subsequentcheck_targets,javaunohelper,\
JunitTest_juh \
))
ifneq ($(DISABLE_DYNLOADING),TRUE)
$(eval $(call gb_Module_add_targets,javaunohelper,\
Library_juhx \
))
endif
endif
# vim:set noet sw=4 ts=4: