Skip to content

roottest-cling-parsing-semicolon is not running, because semicolon is special in cmake? #20738

@andresailer

Description

@andresailer

Check duplicate issues.

  • Checked for duplicates

Description

Trying to debug this test failure roottest-cling-parsing-semicolon

-- TEST COMMAND -- 
cd /build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT-HEAD-build/roottest/cling/parsing
/usr/bin/timeout -s USR2 270s /build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT-HEAD-build/bin/root.exe -e '#define ClingWorkAroundMissingDynamicScope' -e '#define ClingWorkAroundUnnamedInclude' -e '#define ClingWorkAroundMissingSmartInclude' -e '#define ClingWorkAroundNoDotInclude' -e '#define ClingWorkAroundMissingAutoLoadingForTemplates' -e '#define ClingWorkAroundAutoParseUsingNamespace' -e '#define ClingWorkAroundTClassUpdateDouble32' -e '#define ClingWorkAroundAutoParseDeclaration' -e '#define ClingWorkAroundMissingUnloading' -e '#define ClingWorkAroundBrokenUnnamedReturn' -e '#define ClingWorkAroundUnnamedDetection2' -e '#define ClingWorkAroundNoPrivateClassIO' -e '#define ClingWorkAroundUnloadingVTABLES' -e 'gSystem->SetBuildDir("/build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT-HEAD-build/roottest/cling/parsing",true)' -e 'gSystem->AddDynamicPath("/build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT-HEAD-build/roottest/cling/parsing")' -e 'gROOT->SetMacroPath("/build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT/HEAD/roottest/cling/parsing")' -e 'gInterpreter->AddIncludePath("-I/build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT-HEAD-build/roottest/cling/parsing")' -e 'gSystem->AddIncludePath("-I/build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT-HEAD-build/roottest/cling/parsing")' -q -l -b /build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT/HEAD/roottest/cling/parsing/semicolon.C("abc)
-- BEGIN TEST OUTPUT --

Processing /build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT/HEAD/roottest/cling/parsing/semicolon.C("abc)...
Error in <TUnixSystem::SplitAclicMode>: Cannot parse argument in /build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT/HEAD/roottest/cling/parsing/semicolon.C("abc)
Error in <TApplication::ExecuteFile>: macro /build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT/HEAD/roottest/cling/parsing/semicolon.C("abc) not found in path /build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT/HEAD/roottest/cling/parsing

-- END TEST OUTPUT --
CMake Error at /build/jenkins/workspace/lcg_nightly_pipeline/build/projects/ROOT-HEAD/src/ROOT-HEAD-build/RootTestDriver.cmake:186 (message):
  got exit code 1 but expected 0

I did not manage at first to run the semicolon test, since it just didn't exist in my local build. After I changed the name to semicollon, I could run the test (with its new name). I did not see the test mentioned in the one CI log I looked at, so I am wondering if anyone else is able to run this test?

(I have no clue how we manage run this test in our nightlies, maybe depends on the cmake version).

The semicolon in the MACROARG is also not working to be properly passed forward.

Reproducer

ctest -R semicolon

ROOT version

master

Installation method

from source

Operating system

linux

Additional context

cmake --version
cmake version 3.26.5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions