• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gccxml / pygccxml / 945
93%
develop: 92%

Build:
Build:
LAST BUILD BRANCH: pythons
DEFAULT BRANCH: develop
Ran 14 Aug 2017 09:35PM UTC
Jobs 21
Files 147
Run time 47min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
945

push

travis-ci

iMichka
Look for element_type typedef in base classes (#85)

For the yes1 variable from the test_smart_pointer test, we get

- with llvm/clang on mac:

<Variable id="_1012" name="yes1" type="_1554" init="new int{6}" context="_1" location="f118:11" file="f118" line="11" mangled="_Z4yes1"/>
<Class id="_1554" name="shared_ptr&lt;int&gt;" context="_7" location="f46:3868" file="f46" line="3868" members="_7239 _7240 _7241 _7242 _7243 _7244 _7245 _7246 _7247 _7248 _7249 _7250 _7251 _7252 _7253 _7254 _7255 _7256 _7257 _7258 _7259" befriending="" size="128" align="64"/>
<Typedef id="_7239" name="element_type" type="_2541" context="_1554" access="public" location="f46:3871" file="f46" line="3871"/>

- with gcc on Linux:

<Variable id="_977" name="yes1" type="_1024" init="new int{6}" context="_1" location="f44:11" file="f44" line="11" mangled="_Z4yes1"/>
<Class id="_1024" name="shared_ptr&lt;int&gt;" context="_7" location="f51:93" file="f51" line="93" members="_3644 _3645 _3646 _3647 _3648 _3649 _3650" bases="_1039" befriending="_1025" size="128" align="64">
    <Base type="_1039" access="public" virtual="0" offset="0"/>
</Class>
<Class id="_1039" name="__shared_ptr&lt;int, __gnu_cxx::_Lock_policy::_S_atomic&gt;" context="_7" location="f42:867" file="f42" line="867" members="_3711 _3712 _3713 _3714 _3715 _3716 _3717 _3718 _3719 _3720 _3721 _3722 _3723 _3724 _3725 _3726 _3727 _3728 _3729 _3730 _3731" befriending="_1040" size="128" align="64"/>
<Typedef id="_3711" name="element_type" type="_3121" context="_1039" access="public" location="f42:874" file="f42" line="874"/>

In the second case, we need to loop over the base class
and check the members of that class. The member _3711
is the one we are looking for. Without this change the value_type
methods were not able to find the typedef.

19 of 19 new or added lines in 1 file covered. (100.0%)

9938 of 10642 relevant lines covered (93.38%)

18.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
100.0
pygccxml/declarations/smart_pointer_traits.py
Jobs
ID Job ID Ran Files Coverage
1 945.1 (WINDOWS=1) 14 Aug 2017 09:35PM UTC 0
89.07
Travis Job 945.1
2 945.2 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.6/lib/python2.6/sitecustomize.py") 14 Aug 2017 09:36PM UTC 0
89.23
Travis Job 945.2
3 945.3 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 14 Aug 2017 09:35PM UTC 0
89.17
Travis Job 945.3
5 945.5 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.3/lib/python3.3/sitecustomize.py") 14 Aug 2017 09:35PM UTC 0
89.24
Travis Job 945.5
6 945.6 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.4/lib/python3.4/sitecustomize.py") 14 Aug 2017 09:39PM UTC 0
89.24
Travis Job 945.6
7 945.7 (XML_GENERATOR="gccxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:39PM UTC 0
89.24
Travis Job 945.7
8 945.8 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python2.7/lib/python2.7/sitecustomize.py") 14 Aug 2017 09:39PM UTC 0
90.53
Travis Job 945.8
9 945.9 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:39PM UTC 0
90.59
Travis Job 945.9
10 945.10 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.6/lib/python3.6/sitecustomize.py") 14 Aug 2017 09:39PM UTC 0
90.59
Travis Job 945.10
11 945.11 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy/lib-python/2.7/sitecustomize.py") 14 Aug 2017 09:48PM UTC 0
90.53
Travis Job 945.11
12 945.12 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/pypy3/lib-python/3/sitecustomize.py") 14 Aug 2017 10:06PM UTC 0
90.16
Travis Job 945.12
13 945.13 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:43PM UTC 0
90.63
Travis Job 945.13
14 945.14 (XML_GENERATOR="castxml" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:42PM UTC 0
90.59
Travis Job 945.14
15 945.15 (XML_GENERATOR="castxml" CPPSTD="-std=c++03" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:42PM UTC 0
90.65
Travis Job 945.15
16 945.16 (XML_GENERATOR="castxml" CPPSTD="-std=c++11" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:46PM UTC 0
90.71
Travis Job 945.16
17 945.17 (XML_GENERATOR="castxml" COMPILER=g++-5 SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:47PM UTC 0
90.63
Travis Job 945.17
18 945.18 (XML_GENERATOR="castxml" COMPILER=g++-5 CPPSTD="-std=c++14" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:47PM UTC 0
90.63
Travis Job 945.18
19 945.19 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="2" SITECUSTOMIZELIBPATH="/usr/local/lib/python2.7/site-packages/sitecustomize.py") 14 Aug 2017 10:21PM UTC 0
90.42
Travis Job 945.19
20 945.20 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="3" SITECUSTOMIZELIBPATH="/usr/local/lib/python3.6/site-packages/sitecustomize.py") 14 Aug 2017 10:23PM UTC 0
90.49
Travis Job 945.20
21 945.21 (XML_GENERATOR="castxml-18032017" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:50PM UTC 0
90.59
Travis Job 945.21
22 945.22 (XML_GENERATOR="castxml-18032017" CASTXML_EPIC="1" SITECUSTOMIZELIBPATH="/home/travis/virtualenv/python3.5/lib/python3.5/sitecustomize.py") 14 Aug 2017 09:51PM UTC 0
91.05
Travis Job 945.22
Source Files on build 945
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #945
  • 76bf57c8 on github
  • Prev Build on hotfix/v1.9.1 (#937)
  • Next Build on hotfix/v1.9.1 (#946)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc