sc/Module_sc.mk |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit d83a475a8a1b409fc7634ba522a0f0801758b568
Author:     Thorsten Behrens <thorsten.behr...@allotropia.de>
AuthorDate: Sun Jan 14 01:32:29 2024 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Thu May 2 11:28:42 2024 +0200

    Only run solver uitest if either lpsolve or coinbase is in
    
    Change-Id: Ic03a6df33344b92dccc9bc393d718b4011aa1613
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162034
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de>
    (cherry picked from commit 580b2ecf88f7418374dff2d937c9e18f93d50381)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166897
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 3281184d8224..cd64a952ad1a 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -272,7 +272,6 @@ $(eval $(call gb_Module_add_uicheck_targets,sc,\
        UITest_csv_dialog \
        UITest_external_links \
        UITest_statistics \
-       UITest_solver \
        UITest_goalSeek \
        UITest_protect \
        UITest_sc_options \
@@ -294,6 +293,12 @@ $(eval $(call gb_Module_add_uicheck_targets,sc,\
        UITest_function_wizard \
        UITest_manual_tests \
 ))
+
+ifneq ($(or $(ENABLE_LPSOLVE),$(ENABLE_COINMP)),)
+$(eval $(call gb_Module_add_uicheck_targets,sc,\
+       UITest_solver \
+))
+endif
 endif
 
 # vim: set noet sw=4 ts=4:

Reply via email to