Execution Time0.88s

Test: roottest-cling-offset-compiled (Passed)
Build: v6-18-00-patches-aarch64-centos7-gcc48-opt (techlab-arm64-moonshot-xgene-003) on 2019-11-15 00:47:15
Repository revision: 869553a4dd0f00a0fc618d6e9d1fbdd66c820707

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
-- TEST COMMAND -- 
cd /data/sftnight/build/night/LABEL/arm64/SPEC/default/V/6-18/build/roottest/cling/offset
/usr/bin/timeout -s USR2 270s 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("/data/sftnight/build/night/LABEL/arm64/SPEC/default/V/6-18/build/roottest/cling/offset",true)' -e 'gSystem->AddDynamicPath("/data/sftnight/build/night/LABEL/arm64/SPEC/default/V/6-18/build/roottest/cling/offset")' -e 'gROOT->SetMacroPath("/data/sftnight/build/night/LABEL/arm64/SPEC/default/V/6-18/roottest/cling/offset")' -e 'gInterpreter->AddIncludePath("-I/data/sftnight/build/night/LABEL/arm64/SPEC/default/V/6-18/build/roottest/cling/offset")' -e 'gSystem->AddIncludePath("-I/data/sftnight/build/night/LABEL/arm64/SPEC/default/V/6-18/build/roottest/cling/offset")' -q -l -b /data/sftnight/build/night/LABEL/arm64/SPEC/default/V/6-18/roottest/cling/offset/runvbase.C+
-- BEGIN TEST OUTPUT --

Processing /data/sftnight/build/night/LABEL/arm64/SPEC/default/V/6-18/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 --