commit 213cb79c296ac5fee125aeedfbed508b0be45bfd
Author: Scott Kostyshak <[email protected]>
Date: Thu Jul 31 12:16:24 2025 +0200
lyx-tester: do not run high RAM tests by default
We store tests that require a lot of RAM (e.g., 10 GB) in a separate
variable. This way, the developer can choose to run it separately,
i.e., sequentially.
For more information, see here:
https://www.mail-archive.com/search?l=mid&q=h6dx6bkyo3iivhu6kk7k7lnii3neb6n35fpg6u4b3t5ppooqfv%40xzhtu6tppo2e
---
development/lyx-tester/ctest-reg-if-fail | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/development/lyx-tester/ctest-reg-if-fail
b/development/lyx-tester/ctest-reg-if-fail
index 243e370682..6fae5f11f4 100644
--- a/development/lyx-tester/ctest-reg-if-fail
+++ b/development/lyx-tester/ctest-reg-if-fail
@@ -46,7 +46,13 @@ function add_suffix () {
#
# Springer_Nature_Journals: todo: just need to install dependencies.
#
-ctest_exclude='(supported-languages_polyglossia_.*_systemF|(%28APA%29,_v._6|Astronomical).*(pdf|dvi|lyx22|lyx23|lyx24)|BATCH_compare-test|BATCH_outline-beamer|BATCH_vcs-info|Springer_Nature_Journals)'
+# These tests require a lot of RAM (e.g., 10 GB for each one), so it is best
not
+# to run them in parallel.
+# The dev can choose to run these separately, sequentially. e.g.,
+# ctest -R "${lyx_ctests_lots_of_ram}"
+lyx_ctests_lots_of_ram='supported-languages_babel_non-tex_(dvi3|pdf5)_systemF|export/doc/zh_CN/Intro_(dvi3|pdf5)_systemF|export/doc/zh_CN/Tutorial_(dvi3|pdf5)_systemF'
+# TODO: rename ctest_exclude to include "lyx".
+ctest_exclude="(supported-languages_polyglossia_.*_systemF|(%28APA%29,_v._6|Astronomical).*(pdf|dvi|lyx22|lyx23|lyx24)|BATCH_compare-test|BATCH_outline-beamer|BATCH_vcs-info|Springer_Nature_Journals|${lyx_ctests_lots_of_ram})"
# timeout of 10m.
function ctest-reg-if-fail ()
{
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs