sw/JunitTest_sw_complex.mk |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 97337f5395ca1f4597690c97a19da9fd55ee1c66
Author:     Hossein <[email protected]>
AuthorDate: Thu Jan 18 18:30:09 2024 +0000
Commit:     Hossein <[email protected]>
CommitDate: Sun Jan 21 00:21:33 2024 +0100

    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 <[email protected]>

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:

Reply via email to