From ac6ae806f7b0b3f835c3b08dd850f35b243cd565 Mon Sep 17 00:00:00 2001 From: Marcos Bento Date: Tue, 10 Dec 2024 12:02:24 +0000 Subject: [PATCH] Replace Unicode characters with ON/OFF --- cmake/ecbuild_add_option.cmake | 4 ++-- tests/project_summary/configure.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/ecbuild_add_option.cmake b/cmake/ecbuild_add_option.cmake index 9900d3de..97a23a3b 100644 --- a/cmake/ecbuild_add_option.cmake +++ b/cmake/ecbuild_add_option.cmake @@ -173,9 +173,9 @@ macro( ecbuild_add_option ) ## Update the description of the feature summary # Choose the correct tick if (ENABLE_${_p_FEATURE}) - set ( _tick "✔") + set ( _tick "ON") else() - set ( _tick "✘") + set ( _tick "OFF") endif() set(_enabled "${ENABLE_${_p_FEATURE}}") get_property( _enabled_features GLOBAL PROPERTY ENABLED_FEATURES ) diff --git a/tests/project_summary/configure.sh b/tests/project_summary/configure.sh index d1434e1f..ef240946 100755 --- a/tests/project_summary/configure.sh +++ b/tests/project_summary/configure.sh @@ -31,16 +31,16 @@ $SOURCE/clean.sh mkdir -p $HERE/build_1 ecbuild -DENABLE_MYFEATURE=ON $SOURCE/test_project -B $HERE/build_1 | tee $HERE/build_1.log -EXPECT_ONE_OF $HERE/build_1.log "* MYFEATURE, proja(✔): '', projb(✔): ''" +EXPECT_ONE_OF $HERE/build_1.log "* MYFEATURE, proja(ON): '', projb(ON): ''" # Options: -DENABLE_MYFEATURE=ON -DPROJB_ENABLE_MYFEATURE=OFF mkdir -p $HERE/build_2 ecbuild -DENABLE_MYFEATURE=ON -DPROJB_ENABLE_MYFEATURE=OFF $SOURCE/test_project -B $HERE/build_2 | tee $HERE/build_2.log -EXPECT_ONE_OF $HERE/build_2.log "* MYFEATURE, proja(✔): '', projb(✘): ''" +EXPECT_ONE_OF $HERE/build_2.log "* MYFEATURE, proja(ON): '', projb(OFF): ''" # Options: -DENABLE_MYFEATURE=OFF -DPROJB_ENABLE_MYFEATURE=ON mkdir -p $HERE/build_3 ecbuild -DENABLE_MYFEATURE=OFF -DPROJB_ENABLE_MYFEATURE=ON $SOURCE/test_project -B $HERE/build_3 | tee $HERE/build_3.log -EXPECT_ONE_OF $HERE/build_3.log "* MYFEATURE, proja(✘): '', projb(✔): ''" +EXPECT_ONE_OF $HERE/build_3.log "* MYFEATURE, proja(OFF): '', projb(ON): ''"