Commit Graph

9 Commits

Author SHA1 Message Date
Tim Burke
86952dd3ed tests: Stop invoking python just to get the real source directory
While we're at it, stop checking for a seven-year-old version of nose --
we already list a newer version in test-requirements.txt anyway.

Change-Id: I97beace3094f11286730b99653dc1e8f699c5aec
2019-10-15 15:08:42 -07:00
Tim Burke
506279235d Get functional/tests.py running under py3
Note that you need a pretty recent eventlet to pick up
https://github.com/eventlet/eventlet/commit/f0bc79e

Change-Id: I6b006b972e7431c406039f4e0f6890a8f74a4432
2019-05-08 17:44:03 -07:00
Chmouel Boudjnah
ad881413d0 Allow specify arguments to .probetests script
Just so at least I can add -x or -s.

Change-Id: I95543a3086ca5fb292e7899c02646a58296c610a
2013-12-24 01:18:19 -08:00
Clay Gerrard
0b57158007 make test tooling less opinionated
Change-Id: I709afcec998795794a9ef13bbe7493ddd46c59b5
2013-12-06 12:07:52 -08:00
clayg
1f83f007e8 Allow dot test runners from any dir
Currently the .*test files in the source tree root seem to assume you're
in that directory when you run them.  This change should work exactly
the same except for removing that restriction.

Change-Id: I9b037016490dd6d5b515cb2c3cad2f99ee40bb6d
2012-12-07 14:08:49 -08:00
Ionuț Arțăriși
c51788a4ac make test runner functions return the status of running the tests
This makes it a lot easier for CI jobs to be setup and return the true
status of the testsuite.

Change-Id: I0c2b0d6b17f560a889cd2f22ab98a68361f6d738
2012-04-18 15:13:09 +03:00
gholt
1c349a387d Make tests work like they used to.
Change-Id: I081d853a90ad0efce5b7a20b52794ce3348a9617
2012-03-13 15:47:41 +00:00
Maru Newby
e6ea310751 Add support for venv-based test run with tox.
* Adds tox config
   - based on the config from python-quantumclient and updated for
     test, pep8 and coverage execution as per nova's run_tests.sh.
 * Adds nosetests defaults in setup.cfg
 * Adds runtime dependencies in tools/pip-requires
   - dependencies were gathered by referencing the packages used in
     creation of a Swift All In One.  Versions were determined by
     checking the swift-core/trunk ppa or, failing that, the version
     available in lucid.
 * Adds test dependencies in tools/test-requires
 * Updates swift/common/middleware/formpost.py for pep8 compliance
 * Adds instructions for executing the tests with Tox to the
   developer_guidelines
 * Adds instructions for installing openstack.nose_plugin to
   developer_saio
 * Fixes bug 909177

Change-Id: I5407924d2181e9ab335aaf76bf30c8d40deccbb4
2012-03-07 22:44:34 -08:00
Chuck Thier
001407b969 Initial commit of Swift code 2010-07-12 17:03:45 -05:00