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

project-rig / rig
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: rename_keyspace
DEFAULT BRANCH: master
Repo Added 27 Feb 2015 05:16PM UTC
Files 504
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

LAST BUILD ON BRANCH fix-#116
branch: fix-#116
CHANGE BRANCH
x
Reset
  • fix-#116
  • __ne__
  • add-free-commands
  • add_coveralls
  • alloc_and_clear
  • app-stop
  • better-dependency-checking
  • bitfield-get-tags
  • bitfield-subclassing
  • bitfield_namespacing
  • bmp-power-on-bug-workaround
  • bmp_support
  • board-geometry-functions
  • boot-parameters
  • bugfix-same-chip-constraint
  • bugfix_open_aplx_read_only
  • ci_hardware_support
  • coalesced-writes
  • coalesced-writes-simpler-buffer
  • common-signals
  • contexts-all-arguments
  • contexts-can-set-all-arguments
  • count-cores-in-states
  • development-docs
  • doc-neaten
  • doc-seek-fix
  • documentation-improvements
  • even-faster-scp-rw
  • even-faster-scp-rw2
  • even-faster-scp-rw2-select
  • faster-app-load
  • faster-rw
  • faster-scp-rw
  • fault-tollerant-rig-ps
  • find-a-board
  • fix-#133
  • fix-#149
  • fix-#35
  • fix-#37
  • fix-#47
  • fix-#48
  • fix-#51
  • fix-#56
  • fix-#57
  • fix-90
  • fix-a-star-return-type
  • fix-across-link-tests
  • fix-buffering
  • fix-build-routing-tables
  • fix-doc-function-signatures
  • fix-expand-entry
  • fix-live-get_machine-test
  • fix-load_routing_tables-cross-ref
  • fix-minimisation-bug
  • fix-nondeterminism-in-c-kernel
  • fix-pypi-bad
  • fix-pypi-badge
  • fix-readme
  • fix-routing-table-entry-str
  • fix-scamp-app-stop
  • fix-system-info-docs
  • fix-timestamps
  • fix-to-float
  • fix_2x2_from_vector
  • fix_34
  • fix_bitfield_edgecase
  • fix_vcpu_struct1
  • fix_vcpu_struct2
  • fixes_from_the_past
  • flake8
  • flood-fill-core-select
  • full_test_coverage
  • get_location_and_length
  • high-throughput-io
  • hpsr-2016
  • improve-memoryio
  • indeterminate_numpy_python_os_fix
  • iobuf
  • link-read-write
  • machine-relative-comparison
  • machine_control_docs
  • make-sa-callback-test-deterministic
  • master
  • mindless-changes
  • minimize-in-out-pairs
  • missing_file
  • multiple-ethernet
  • multisource_nets_option_3
  • naive-placement-refactor
  • neaten-region-tree
  • ner_dead_code_removal
  • new_makefile
  • no-np
  • no-py33
  • nonblocking-io
  • np-fix
  • only-use-idle-cores
  • optimise_interpreter_performance
  • overview-docs
  • processor_status
  • pure_vanity
  • pypi-desc
  • pypi-desc-2
  • pytest-flake8
  • random-placer
  • real-ints-from-geometry-functions
  • reduce_debug
  • remove-regions
  • remove-slots
  • rename-util-to-utils
  • rename_keyspace
  • requirements-docs-enum-compat
  • rig-boot-num-boards
  • rig-commands
  • rig-counters
  • rig-scripts-docs-polish
  • rig_sa
  • router-infinate-loop-fix
  • routes-metadata
  • routing-table-tools
  • routing-tree-fix
  • rtr_diag
  • same-chip-constraint
  • scp_refactor2
  • sdram-alloc
  • sdram-alloc-error-msg
  • simplify-scp-packet
  • simplify-scp-packet-fix-docs
  • simulated_annealing
  • smarter-boot
  • stringy-signals
  • subscript-memoryio
  • test-tag
  • travis-flake8
  • travis-py35
  • typecast-docs
  • update-current-context
  • update-oc
  • v0.0.2.dev
  • v0.1.0.dev
  • v0.1.1.dev
  • v0.1.2
  • v0.1.3
  • v0.1.4
  • v0.1.5
  • v0.10.0
  • v0.10.1
  • v0.11.0
  • v0.11.1
  • v0.12.1
  • v0.12.2
  • v0.13.0
  • v0.13.1
  • v0.13.2
  • v0.13.3
  • v0.13.4
  • v0.14.0
  • v0.2.0
  • v0.2.1
  • v0.2.2
  • v0.2.3
  • v0.3.0
  • v0.3.1
  • v0.4.0
  • v0.5.0
  • v0.5.1
  • v0.5.2
  • v0.5.3
  • v0.5.4
  • v0.5.5
  • v0.5.6
  • v0.6.1
  • v0.6.2
  • v0.6.3
  • v0.6.4
  • v0.7.0
  • v0.8.0
  • v0.8.1
  • v0.8.2
  • v0.9.0
  • vanity-fix-2
  • version_number_consistency
  • wait-for-signals
  • write-struct-fields

pending completion
665

push

travis-ci

mossblaser
Make test-suite catch packaging errors.

This commit applies some relatively major file-tree restructuring to enable
pytest to run tests against an installed version of the Rig library. As a result
of this installation becomes a necessary step in testing and thus a bad
setup.py can cause tests to fail.

* Remove __init__.py from test directories.

  As per py.test's recommendations (and previously brought up in #96).

  This is the first step towards making the test suite run against an
  *installed* version of the software rather than the copy in which the test
  code runs. As a bonus, the test code nolonger gets included in the packaged
  software.

* Move tests into own directory.

  This makes the test suite run against the installed version rather than the
  version they happen to be sitting in the same module as.

* Make travis and tox install rig prior to testing.

  This tests the setup is actually working.

* Run py.test in multiple stages to work-around pytest path issues

  In order to cope with pytest's modification of the python module path, the
  test suite and doctests must be run separately for system-wide installations
  of the library-under-test...

  Additionally, the test-dependencies have been removed from setup.py since
  there is no value to them being there.

* Points test suite coverage checks at the installed version of rig

  This process is somewhat ugly but it does work and considering this allows the
  packaging to be tested too, this seems like a good thing overall.

10190 of 10190 relevant lines covered (100.0%)

1.72 hits per line

Relevant lines Covered
Build:
Build:
10190 RELEVANT LINES 10190 COVERED LINES
1.72 HITS PER LINE
Source Files on fix-#116
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
665 fix-#116 Make test-suite catch packaging errors. This commit applies some relatively major file-tree restructuring to enable pytest to run tests against an installed version of the Rig library. As a result of this installation becomes a necessary step in ... push 28 Apr 2015 09:34AM UTC mossblaser travis-ci pending completion  
662 fix-#116 Make test-suite catch packaging errors. This commit applies some relatively major file-tree restructuring to enable pytest to run tests against an installed version of the Rig library. As a result of this installation becomes a necessary step in ... push 28 Apr 2015 09:19AM UTC mossblaser travis-ci pending completion  
658 fix-#116 Add tests to tox flake8. push 28 Apr 2015 09:02AM UTC mossblaser travis-ci pending completion  
654 fix-#116 Include installed Rig library in coverage. This process is somewhat ugly but it does work and considering this allows the packaging to be tested too, this seems like a good thing overall. push 28 Apr 2015 08:41AM UTC mossblaser travis-ci pending completion  
650 fix-#116 Separate test stages to work-around py.test path. In order to cope with pytest's modification of the python module path, the test suite and doctests must be run separately for system-wide installations of the library-under-test... This commit up... push 28 Apr 2015 07:52AM UTC mossblaser travis-ci pending completion  
648 fix-#116 Separate test stages to work-around py.test path. In order to cope with pytest's modification of the python module path, the test suite and doctests must be run separately for system-wide installations of the library-under-test... This commit up... push 28 Apr 2015 07:45AM UTC mossblaser travis-ci pending completion  
638 fix-#116 Fix #116 Include binaries and boot data in package. push 27 Apr 2015 04:29PM UTC mundya travis-ci pending completion  
See All Builds (935)
  • Repo on GitHub
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

© 2025 Coveralls, Inc