Execution Time0.86s

Test: roottest-cling-offset-interpreted (Passed)
Build: PR-4279-x86_64-fedora29-gcc8-opt (root-fedora29-3.cern.ch) on 2019-11-14 21:03:34

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
-- TEST COMMAND -- 
cd /mnt/build/workspace/root-pullrequests-build/build/roottest/cling/offset
/usr/bin/timeout -s USR2 270s /mnt/build/workspace/root-pullrequests-build/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 'gSystem->SetBuildDir("/mnt/build/workspace/root-pullrequests-build/build/roottest/cling/offset",true)' -e 'gSystem->AddDynamicPath("/mnt/build/workspace/root-pullrequests-build/build/roottest/cling/offset")' -e 'gROOT->SetMacroPath("/mnt/build/workspace/root-pullrequests-build/roottest/cling/offset")' -e 'gInterpreter->AddIncludePath("-I/mnt/build/workspace/root-pullrequests-build/build/roottest/cling/offset")' -e 'gSystem->AddIncludePath("-I/mnt/build/workspace/root-pullrequests-build/build/roottest/cling/offset")' -q -l -b /mnt/build/workspace/root-pullrequests-build/roottest/cling/offset/runvbase.C
-- BEGIN TEST OUTPUT --

Processing /mnt/build/workspace/root-pullrequests-build/roottest/cling/offset/runvbase.C...
derived Basement -> base Top: Compiler and interpreter say the same value.
derived Basement -> base Top: Compiler and interpreter say the same value.
Top does not derive from Basement:
derived Top -> base Basement: Compiler says something, interpreter says -1.
The object is a base ptr object:
derived Basement -> base Top: Compiler and TClass agree or offset fail - this is as good as it gets.
derived Basement -> base Fill: Compiler and interpreter say the same value.
derived Basement -> base Mid1: Compiler and interpreter say the same value.
derived Basement -> base Bottom: Compiler and interpreter say the same value.
derived Basement -> base Basement: Compiler and interpreter say the same value.
derived Bottom -> base Top: Compiler and interpreter say the same value.
derived Bottom -> base Mid1: Compiler and interpreter say the same value.
derived Bottom -> base Mid2: Compiler and interpreter say the same value.
derived Bottom -> base Bottom: Compiler and interpreter say the same value.
derived Mid1 -> base Top: Compiler and interpreter say the same value.
derived Mid1 -> base Mid1: Compiler and interpreter say the same value.
derived Mid1 -> base Mid2: Compiler says something, interpreter says -1.
derived Mid2 -> base Top: Compiler and interpreter say the same value.
derived Mid2 -> base Mid2: Compiler and interpreter say the same value.
derived Basement -> base Top: Compiler and interpreter say the same value.
derived Basement -> base Top: Compiler and interpreter say the same value.
Top does not derive from Basement:
derived Top -> base Basement: Compiler says something, interpreter says -1.
derived Basement -> base Fill: Compiler and interpreter say the same value.
derived Basement -> base Mid1: Compiler and interpreter say the same value.
derived Basement -> base Bottom: Compiler and interpreter say the same value.
derived Basement -> base Basement: Compiler and interpreter say the same value.
derived Bottom -> base Top: Compiler and interpreter say the same value.
derived Bottom -> base Mid1: Compiler and interpreter say the same value.
derived Bottom -> base Mid2: Compiler and interpreter say the same value.
derived Bottom -> base Bottom: Compiler and interpreter say the same value.
derived Mid1 -> base Top: Compiler and interpreter say the same value.
derived Mid1 -> base Mid1: Compiler and interpreter say the same value.
derived Mid1 -> base Mid2: Compiler says something, interpreter says -1.
derived Mid2 -> base Top: Compiler and interpreter say the same value.
derived Mid2 -> base Mid2: Compiler and interpreter say the same value.

-- END TEST OUTPUT --
-- BEGIN TEST ERROR --
The derived class does not derive from base, thus we expect different results from compiler and cling.
Multiple paths case:
Error in <TClingBaseClassInfo::Offset>: There are multiple paths from derived class Basement to base class Mid2.
derived Basement -> base Mid2: TClass says -1
The derived class does not derive from base, thus we expect different results from compiler and cling.

-- END TEST ERROR --