Execution Time6.23s

Test: roottest-python-cpp-advanced (Passed)
Build: PR-4854-x86_64-fedora30-gcc9-opt (root-fedora30-1.cern.ch) on 2020-01-24 13:42:52

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
Info in <TUnixSystem::ACLiC>: creating shared library /build/workspace/root-pullrequests-build/build/roottest/python/cpp/./AdvancedCpp_C.so
Info in <TUnixSystem::ACLiC>: creating shared library /build/workspace/root-pullrequests-build/build/roottest/python/cpp/./Template_C.so

-- TEST COMMAND -- 
cd /build/workspace/root-pullrequests-build/build/roottest/python/cpp
/usr/bin/timeout -s USR2 270s /usr/bin/python2.7 /build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py --fixcling
-- BEGIN TEST OUTPUT --
Test data member access when using virtual inheritence ... ok
Test reference passing when using virtual inheritance ... ok
Test data member access for a templated class ... ok
Test data member access for a templated class instantiated with a template ... ok
Test template instantiation with a std::vector< float > ... ok
Test template member functions lookup and calls ... /build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:227: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual( m.GetSize('char')(),   m.GetCharSize() )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:228: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual( m.GetSize(int)(),      m.GetIntSize() )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:229: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual( m.GetSize('long')(),   m.GetLongSize() )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:230: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual( m.GetSize(float)(),    m.GetFloatSize() )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:231: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual( m.GetSize('double')(), m.GetDoubleSize() )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:233: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual( m.GetSize('MyDoubleVector_t')(), m.GetVectorOfDoubleSize() )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:234: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual( m.GetSize('vector<double>')(), m.GetVectorOfDoubleSize() )
ok
Test template member functions lookup and calls (set 2) ... /build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:255: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertRaises( TypeError, m.GetSize2( 'char', 'long' ), 'a', 1 )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:263: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual(m.GetSize2('char', 'long')( 1, 'a' ), m.GetCharSize() - m.GetLongSize() )
ok
Test overloaded template member functions lookup and calls ... /build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:299: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual( m.GetSizeOL(float)( 3.14 ),  m.GetFloatSize() )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:313: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  inst = m.GetSizeOL(int)
ok
Test lookup and calls for template member functions ... /build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:361: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual(m.GetSizeNEI('char')('c'), m.GetCharSize())
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:362: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  self.assertEqual(m.GetSizeNEI(int)(1), m.GetIntSize())
ok
Test template global function lookup and calls ... ok
Use of template argument ... ok
Test template function in a namespace, lookup and calls ... /build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:406: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  inst_float = f("float")
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:407: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  inst_float_t = f("Float_t")
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:408: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  inst_vec_float = f("vector<float>")
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:409: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  inst_std_vec_float = f("std::vector<float>")
ok
Test usage of Long/Double place holders ... ok
Test parameter passing of builtins through non-const reference ... /build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:458: FutureWarning: ROOT.Long is deprecated and will disappear in a future version of ROOT. Instead, use ctypes.c_long for pass-by-ref of longs
  SetLongThroughRef( l, 41 )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:471: FutureWarning: ROOT.Double is deprecated and will disappear in a future version of ROOT. Instead, use ctypes.c_double for pass-by-ref of doubles
  SetDoubleThroughRef( d, 3.1415 )
/build/workspace/root-pullrequests-build/roottest/python/cpp/PyROOT_advancedtests.py:476: FutureWarning: ROOT.Long is deprecated and will disappear in a future version of ROOT. Instead, use ctypes.c_int for pass-by-ref of ints
  SetIntThroughRef( i, 13 )
ok
Test parameter passing of builtins through const reference ... ok
Test abstract class in a hierarchy ... ok
Test non-instatiatability of abstract classes ... ok
Test assignment to an instance returned by reference ... ok
Want nice error message of failing assign by reference ... ok
Test operator int/long/double incl. typedef ... ok
Check that the global operator!=/== is picked up ... ok
Check that the namespaced global operator!=/== is picked up ... ok
Check that a namespaced global operator!=/== can be used directly ... ok
Verify access to array of doubles ... ok
Verify writability of global instances ... ok
Test life time of temporary in long expression ... ok
Access C++ standard exception objects from python ... ok
Assignment operator on pointers ... ok
Lazy lookup of late created functions ... ok
Lazy lookup of late created overloaded functions ... ok
Use of custom new/delete ... ok
Overload with implicit copy ctor ... ok
Overload with user provided cctor second ... ok
Overload with user provided cctor first ... ok

----------------------------------------------------------------------

OK

-- END TEST OUTPUT --