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\"\)