4 Commits

Author SHA1 Message Date
Matthew Treinish
9a510e85ce Fix slowest test output after test run
This commit fixes the output from pretty_tox.sh so that the testr
slowest output is gobbled up by the pipe into subunit-trace.

Change-Id: I4e23cb3c3773e58a297416c1f51996fef059330a
2015-01-11 16:55:30 -05:00
Mike Bayer
efbb3887e0 Add pretty_tox wrapper script
This ports Nova/Neutron's'(and others) "pretty tox" script into tools/
and establishes it within tox.ini.   This causes a vanilla test run
to output the full package names of all tests, the index of the
subprocess it's being run within, as well as the total run time
and status of each test.  It also captures stdout/stderr and reports on that
as well; revealing that oslo.db's tests have a lot of deprecation
warnings in fact.

The display of this runner shows a lot more information than the
default testr/subunit thing which is somewhat useless, and for
those who are actually watching the test output, this is what
we'd most like to see.

Pretty Tox.  Pretty please, can we have?

Change-Id: I50d1c6e998425964dd9a5497c2bc1e9145be3120
2015-01-06 17:57:50 -05:00
Doug Hellmann
7063585c60 Move files out of the namespace package
Move the public API out of oslo.db to oslo_db. Retain the ability to
import from the old namespace package for backwards compatibility for
this release cycle.

Blueprint: drop-namespace-packages

Change-Id: Ie96b482b9fbcb1d85203ad35bb65c1f43e912a44
2014-12-24 13:28:48 +02:00
Victor Sergeyev
c9e5fdf3bc Add run_cross_tests.sh script
Script `run_cross_tests.sh` can be used for running unit tests in
other projects using the current package's code.

Change-Id: Iad636216cd73d2eeb70448fda789c0ad9d579b3a
Related-Bug: #1367354
2014-09-09 19:13:03 +03:00