From 56a8af590e7325e88fb373dc6b83299af1b43a5b Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Thu, 18 Dec 2025 11:02:37 +0100 Subject: [PATCH] [test] Activate a test otherwise never executed --- roottest/cling/parsing/CMakeLists.txt | 12 +++++++----- roottest/cling/parsing/thesemicolon.sh | 3 +++ 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100755 roottest/cling/parsing/thesemicolon.sh diff --git a/roottest/cling/parsing/CMakeLists.txt b/roottest/cling/parsing/CMakeLists.txt index 66ee894b7e4d9..f381cd18d1931 100644 --- a/roottest/cling/parsing/CMakeLists.txt +++ b/roottest/cling/parsing/CMakeLists.txt @@ -30,11 +30,13 @@ ROOTTEST_ADD_TEST(runTTestClass DEPENDS ${GENERATE_DICTIONARY_TEST} LABELS roottest regression cling) -ROOTTEST_ADD_TEST(semicolon - MACRO semicolon.C - MACROARG \"abc;xyz\" - OUTREF semicolon.ref - LABELS roottest regression cling) +if(NOT MSVC) # See #20738 + ROOTTEST_ADD_TEST(thesemicolon + COPY_TO_BUILDDIR semicolon.C ./thesemicolon.sh + COMMAND ./thesemicolon.sh + OUTREF semicolon.ref + LABELS roottest regression cling) +endif() ROOTTEST_ADD_TEST(assertManipulators MACRO assertManipulators.C diff --git a/roottest/cling/parsing/thesemicolon.sh b/roottest/cling/parsing/thesemicolon.sh new file mode 100755 index 0000000000000..350c0f3c02742 --- /dev/null +++ b/roottest/cling/parsing/thesemicolon.sh @@ -0,0 +1,3 @@ +#! /usr/bin/env sh + +root.exe -b -l -q semicolon.C\(\"abc\ \;\ xyz\"\)