From 08bdf41bae2e97dc9860a0e8750d62d2cbee482f Mon Sep 17 00:00:00 2001 From: x7z4w Date: Tue, 21 Oct 2025 19:14:47 +0200 Subject: [PATCH] [build] Do not build tests on release Signed-off-by: x7z4w --- tools/unix/build_omim.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/unix/build_omim.sh b/tools/unix/build_omim.sh index fc912f37b..cd18798f2 100755 --- a/tools/unix/build_omim.sh +++ b/tools/unix/build_omim.sh @@ -33,7 +33,9 @@ while getopts ":cdrRxtagjlp:n:" opt; do CMAKE_CONFIG="${CMAKE_CONFIG:-} -DNJOBS=${OPT_NJOBS}" ;; p) OPT_PATH="$OPTARG" ;; - r) OPT_RELEASE=1 ;; + r) OPT_RELEASE=1 + CMAKE_CONFIG="${CMAKE_CONFIG:-} -DSKIP_TESTS=1" + ;; R) OPT_RELEASEDEBUGINFO=1 ;; t) OPT_DESIGNER=1 ;; *)