Doug Hellmann 588fba7bde Import run_cross_tests.sh from oslo-incubator
Replace the local version of run_cross_tests.sh with
the version in oslo-incubator.

Depends on https://review.openstack.org/#/c/83411/
and https://review.openstack.org/#/c/83412/

Change-Id: I3d3e25f92ab6337432b54967a381662f32902a6d
2014-03-27 08:02:02 -07:00
2014-03-11 15:53:31 -04:00
2014-02-18 07:17:31 -08:00
2014-01-31 15:42:43 -08:00
2014-01-31 15:42:43 -08:00
2014-01-31 15:42:43 -08:00
2014-01-31 15:42:43 -08:00
2014-01-31 15:42:43 -08:00
2014-01-31 15:42:43 -08:00
2014-01-31 15:42:43 -08:00
2014-01-31 15:42:43 -08:00
2014-01-31 15:42:43 -08:00
2014-03-11 15:53:31 -04:00
2014-02-18 07:17:31 -08:00
2014-02-18 05:27:46 -08:00
2014-02-18 05:49:53 -08:00

oslotest

OpenStack test framework and test fixtures

Cross-testing With Other Projects

The oslotest package is cross-tested against its consuming projects to ensure that no changes to the library break the tests in those other projects.

In the Gate

To add your project to the list for cross-testing, update modules/openstack_project/files/jenkins_job_builder/config/projects.yaml in the openstack-infra/config git repository and add sections like:

- '{pipeline}-oslo.test-dsvm-{name}{branch-designator}':
    pipeline: check
    node: 'devstack-precise || devstack-precise-check'
    branch-designator: ''
    branch-override: default
- '{pipeline}-oslo.test-dsvm-{name}{branch-designator}':
    pipeline: gate
    node: devstack-precise
    branch-designator: ''
    branch-override: default

to the jobs list for your project. Refer to https://review.openstack.org/#/c/76381 for an example.

Then update modules/openstack_project/files/zuul/layout.yaml by adding the new check test to the global list of jobs (to make it non-voting to start), and then to your project and to oslo.test.

- name: check-oslo.test-dsvm-oslo.messaging
  voting: false
- name: openstack/oslo.messaging
  ...
  check:
  ...
    - check-oslo.test-dsvm-oslo.messaging
  ...
- name: openstack/oslo.test
  ...
  check:
  ...
    - check-oslo.test-dsvm-oslo.messaging
  ...

Locally

To run the cross-tests locally, invoke the script directly, passing the path to the other source repository and the tox environment name to use:

$ cd oslo.test
$ ./tools/run_cross_tests.sh ~/repos/openstack/oslo.config py27
Description
RETIRED, further work has moved to Debian project infrastructure
Readme 352 KiB
Languages
Python 92.1%
Shell 7.6%
reStructuredText 0.3%