From 97337f5395ca1f4597690c97a19da9fd55ee1c66 Mon Sep 17 00:00:00 2001 From: Hossein Date: Thu, 18 Jan 2024 18:30:09 +0000 Subject: [PATCH] Fix sw_complex JUnitTest not running Call to gb_JunitTest_add_classes was missing in the gbuild makefile sw/JunitTest_sw_complex.mk, and now it sholud be fixed. Before that the sw/qa/complex/indeterminateState/CheckIndeterminateState.java was compiled, but it was not run due to the missing class name (complex.indeterminateState.CheckIndeterminateState) from the java command which was used to invoke the test. The test can be run with: $ make JunitTest_sw_complex Change-Id: I85823336d7f3ad2fde47442b5d1c5d2f3003299b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162263 Tested-by: Jenkins Reviewed-by: Hossein --- sw/JunitTest_sw_complex.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sw/JunitTest_sw_complex.mk b/sw/JunitTest_sw_complex.mk index 41785d5c49f6..45c5a29859d4 100644 --- a/sw/JunitTest_sw_complex.mk +++ b/sw/JunitTest_sw_complex.mk @@ -25,4 +25,8 @@ $(eval $(call gb_JunitTest_add_sourcefiles,sw_complex,\ $(eval $(call gb_JunitTest_use_unoapi_jars,sw_complex)) +$(eval $(call gb_JunitTest_add_classes,sw_complex,\ + complex.indeterminateState.CheckIndeterminateState \ +)) + # vim: set noet sw=4 ts=4: