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

buildtesters / buildtest / 496
76%

Build:
DEFAULT BRANCH: devel
Ran 25 May 2020 10:06PM UTC
Jobs 6
Files 23
Run time 1min
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
496

push

travis-ci-com

web-flow
first attempt at implementing compiler schema in Buildtest (#300)

* first attempt at implementing 'compiler' schema in Buildtest
Added class CompilerBuilder which is a subclass of BuilderBase that
implements the compiler schema.
Add support for viewing compiler schema via 'buildtest show schema'
Modify global schema since we ran into validation error when specifying
maintainer key. This was due to expected type.
Add compiler schema to buildtest.

* Refactor code by adding lookup dictionary for language file extension
and compiler table. We add exception when any C, C++, Fortran compiler
is not set we raise an error. Replace if/else condition with more
simplified and reduced code structure. Add docstring to method
_build_testcontent
add pgi, cray to compiler schema.

* Add Compiler class GNUCompiler, IntelCompiler, PGICompiler, CrayCompiler
that are subclass of CompilerBuilder which set cc, cxx, fc. We have a
get_compilers method to return the list of compiler wrapper. In
addition, we have get_path method which returns a key/value pair
of compiler wrapper and full path to binary. In future, we may extend
feature to invoke the compiler class by name of module to
create multiple instance of Compilers.
We removed detect_compiler method and refactored language detection
in method detect_lang

* unfinished work, major refactor for CompilerBuilder class to make
class more modular. Right now there are some issues with how test
content is generated.

* move exec_args into compiler property as pose to compiler definition in schema.
2nd attempt at refactoring CompilerBuilder

* add 'name' key in compiler to select the compiler type which
selects the appropriate Compiler class to invoke. Tested this
with intel and gnu compiler and it was successful.

* invoked wrong Compiler class when compiler name is cray

Signed-off-by: Shahzeb Siddiqui <shahzebmsiddiqui@gmail.com>

* use os.path.join instead of using fstring

* remov... (continued)

138 of 280 branches covered (49.29%)

Branch coverage included in aggregate %.

671 of 1005 relevant lines covered (66.77%)

4.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 496.1 (LMOD_VERSION=6.6.2) 25 May 2020 10:06PM UTC 0
63.21
Travis Job 496.1
2 496.2 (LMOD_VERSION=7.8.2) 25 May 2020 10:06PM UTC 0
63.21
Travis Job 496.2
3 496.3 (LMOD_VERSION=6.6.2) 25 May 2020 10:06PM UTC 0
63.21
Travis Job 496.3
4 496.4 (LMOD_VERSION=7.8.2) 25 May 2020 10:06PM UTC 0
63.21
Travis Job 496.4
5 496.5 (LMOD_VERSION=6.6.2) 25 May 2020 10:06PM UTC 0
63.52
Travis Job 496.5
6 496.6 (LMOD_VERSION=7.8.2) 25 May 2020 10:08PM UTC 0
63.52
Travis Job 496.6
Source Files on build 496
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #496
  • 987bcf6a on github
  • Prev Build on devel (#483)
  • Next Build on devel (#497)
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