Commit Graph

8 Commits

Author SHA1 Message Date
Matthew Treinish
72e8376175
Remove virtualenv management scripts from oslo-incubator
This commit removes the old virtualenv management scripts from oslo
incubator. They were just wrappers around virtualenv and don't really
work well in a world with global requirements and constraints. This
commit just removes them since there isn't any reason to keep them
around.

Change-Id: Ib7dd6b34533880e48b367732ae3520026a92500e
2016-02-19 11:37:31 -05:00
Marc Koderer
c81c767152 Get rid of unused env variable
TEMPEST_LOG_CONFIG was never interpreted within tempest.
As a result logging.conf was only interpreted if log_config_append
in tempest.conf was set manually.

Logging properties are important for tempest CLI to ensure
the user sees some output.

Change-Id: I2bcf386b9dd2afd78ed81fd62fcc54e9b63ddeab
Partial-Bug: #1527142
2015-12-17 12:31:48 +01:00
Matthew Treinish
3898474abd
Switch run_tempest.sh to use subunit-trace
This commit switches the run_tempest.sh script to use subunit-trace
instead of the colorizer output filter. Since the colorizer isn't used
anymore it is removed.

The colorizer output has several issues. Firstly the color is actually
meaningless. It's based on arbitrary run times for the tests but don't
actually indicate anything useful. Additionally, it lacks a lot of the
debugging information that subunit-trace provides. Things like skip
messages, the worker breakdown, etc. are missing with the colorizor
output. The last aspect is that switching to use subunit-trace will
provide a consistent output format for running tempest whether you
use tox or run_tempest.sh.

Change-Id: I26e9c45f8e674bdb889b6bc65ad30c4abf6e7655
2015-11-23 13:09:51 -05:00
ghanshyam
f5360ff14f Sync venv scripts from oslo-incubator
Currently install_venv.py and with_venv.sh create virtual
environment in .venv directory and there is no way to specify
the virtual environment path explicitly.

This has been fixed in oslo-incubator.
This patch sync those virtual environment scripts from oslo-incubator.
Also make run_test.sh and run_tempest.sh scripts to use 'VENV' env variable.

Change-Id: I55311cff4dea1f6c5adaa2a6d51eeee2f6cc71ea
Closes-Bug: 1370086
2015-07-10 11:53:58 +09:00
Ryan Bak
866079825c Fixed argument parsing in run script
Replaced += with = when adding arguments to the testrargs string
to prevent the script from doubling in length with each additional
argument.

Change-Id: If0ab41d6062c83cee50f830ffd9428c1302fd997
Closes-Bug: #1325405
2014-06-01 12:26:35 -06:00
Matthew Treinish
a74f5d4fba Mildly wound the interlopers
This commit removes all the references to nose in the tempest tree.
Moving forward trying to support nose which doesn't support some of the
features we rely on in tempest is increasingly difficult. Please refer
to this thread:

http://lists.openstack.org/pipermail/openstack-dev/2014-January/024673.html

for a more detailed explanation and the discussion regarding this.

Change-Id: I3dee566d33efe1fb7808817b885d1680736abe6a
2014-02-19 16:17:32 +00:00
Matthew Treinish
1b1eb64d2d Make --debug flag on run_tests and run_tempest use testtools.run
This commit changes the --debug flag on run_tests.sh and run_tempest.sh
so that instead of setting set +o xtrace will run tests with testools.run.
This enables pdb to work because calling subunit.run or using testr will
interfere with pdb.

Change-Id: I9953af7a2375a1d26df69559799be3df973756af
2014-01-21 19:38:47 +00:00
Matthew Treinish
61f7d5ece5 Add a run_tempest.sh script
This commit adds a run_tempest.sh script which is used for running
tempest in the same manner that used to be handled by run_tests.sh.

Partially implements bp unit-tests

Change-Id: Id03d198b888ebd3673b2ca6fa895164910a42c4c
2014-01-06 15:02:50 +00:00