summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorThorsten Behrens <thorsten.behrens@allotropia.de>2024-01-14 01:32:29 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2024-05-02 11:28:42 +0200
commitd83a475a8a1b409fc7634ba522a0f0801758b568 (patch)
tree74abf5966c2472c05c05758231ca4b29cc8b3481 /sc
parent77be21b5bd0bd339b2e629f5ec5ee00887033781 (diff)
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.behrens@allotropia.de> (cherry picked from commit 580b2ecf88f7418374dff2d937c9e18f93d50381) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166897 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/Module_sc.mk7
1 files changed, 6 insertions, 1 deletions
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: