Ran
|
Jobs
9
|
Files
113
|
Run time
12min
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/gccxml/pygccxml/commit/d7599247b">Fix unqualified integral const in default arguments for CastXML CastXML, prior to XML output versin 1.137, didn't modify integral constant names used in default arguments for functions, it simply used the same text present in the source file. This causes compilation failures in bindings generated by pyplusplus in case of code such as the following: struct st { static int const DEFAULT = 0; void fun(int arg=DEFAULT); }; In this case, CastXML produced `DEFAULT` as the default value while GCCXML qualifies the name and sets the default value to `st::DEFAULT`. Consequently, pyplusplus refers to the default value as `DEFAULT`, which fails compilation because the name needs to be fully qualified as `st::DEFAULT`. This fix produces the desired qualified output from pygccxml with both GCCXML and CastXML. As of XML output version 1.137, CastXML now produces fully qualified names for default arguments. Change-Id: I</a><a class="double-link" href="https://github.com/gccxml/pygccxml/commit/e22ae5e7e">e22ae5e7e</a>
42 of 42 new or added lines in 2 files covered. (100.0%)
8266 of 10039 relevant lines covered (82.34%)
7.24 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
4 |
89.73 |
-0.95% | unittests/patcher_tester.py |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 375.1 (XML_GENERATOR="gccxml") | 113 |
80.37 |
Travis Job 375.1 | |
3 | 375.3 (XML_GENERATOR="gccxml") | 112 |
80.51 |
Travis Job 375.3 | |
4 | 375.4 (XML_GENERATOR="gccxml") | 112 |
80.51 |
Travis Job 375.4 | |
5 | 375.5 (XML_GENERATOR="gccxml") | 112 |
80.51 |
Travis Job 375.5 | |
6 | 375.6 (XML_GENERATOR="gccxml") | 112 |
80.5 |
Travis Job 375.6 | |
7 | 375.7 (XML_GENERATOR="castxml") | 113 |
80.64 |
Travis Job 375.7 | |
8 | 375.8 (XML_GENERATOR="castxml") | 112 |
80.81 |
Travis Job 375.8 | |
9 | 375.9 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="2") | 113 |
80.62 |
Travis Job 375.9 | |
10 | 375.10 (XML_GENERATOR="castxml" TRAVIS_PYTHON_VERSION="3") | 112 |
80.79 |
Travis Job 375.10 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|