summaryrefslogtreecommitdiffstats
path: root/run_tests.sh
Commit message (Collapse)AuthorAgeFilesLines
* Move 'tests' directory into 'keystone' packageSascha Peilicke2013-08-141-2/+2
| | | | | | | | | | | Similar to a range of other components (e.g. glance,nova,...) and recent reviews by Monty. Running individual tests can be done like this: ./run_tests.sh keystone.tests.test_drivers Change-Id: I2482a48322150e5eb09b703326a94d8283f1c75b
* run_tests.sh should use flake8 (bug 1180609)Dolph Mathews2013-06-041-22/+23
| | | | | | Existing flags (e.g. --pep8) are intentionally left alone. Change-Id: I300aaee17294b88c7d1ba4daad462af407c67d4f
* Rename requires files to standard names.Carlos D. Garza2013-05-241-1/+1
| | | | | | | | | Rename tools/pip-requires to requirements.txt and tools/test-requires to test-requirements.txt. These are standard files, and tools in the general world are growing intelligence about them. Fixes: bug #1179008 Change-Id: I1a19f0c73ab48987e2ff0dade1a57a68b65f0a22
* Merge "fix duplicate option error"Jenkins2013-04-231-1/+1
|\
| * fix duplicate option errortermie2013-04-221-1/+1
| | | | | | | | | | | | | | when using ./run_tests.sh with -xintegration this test fails with a duplicate option error, we shouldn't be running it there Change-Id: Idb0f7608bbefd2975958ae30977e9a4d5debfc1f
* | Merge "don't migrate as often"Jenkins2013-04-221-1/+9
|\ \ | |/ |/|
| * don't migrate as oftentermie2013-04-051-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | saves a bunch of time in the tests (the savings are more noticable if you are not running the integration tests) before: Slowest 5 tests took 5.80 secs: 1.53 TokenExpirationTest.test_maintain_uuid_token_expiration 1.22 TestTokenRevoking.test_deleting_group_grant_revokes_tokens 1.08 TestTokenRevoking.test_group_membership_changes_revokes_token 1.06 IdentityTestCase.test_crud_group_domain_role_grants 0.92 CatalogTestCase.test_create_endpoint_on_v2 ---------------------------------------------------------------------- Ran 1274 tests in 149.136s OK (SKIP=84) after: Slowest 5 tests took 4.82 secs: 1.53 TokenExpirationTest.test_maintain_uuid_token_expiration 0.90 TestTokenRevoking.test_deleting_group_grant_revokes_tokens 0.84 TestTokenRevoking.test_group_membership_changes_revokes_token 0.78 Kc11TestCase.test_token_expiry_maintained 0.77 TestTokenRevoking.test_deleting_user_grant_revokes_token ---------------------------------------------------------------------- Ran 1274 tests in 102.986s OK (SKIP=84) Change-Id: I1f39ad0412e739a333e4b755ca00a94ccbf400be
* | use the openstack test runnertermie2013-04-051-1/+1
|/ | | | Change-Id: I9d4d2713da7e14c7875319ccf9302b98f0a30805
* command line switch for short pep8 output.Adam Young2013-02-271-1/+17
| | | | Change-Id: I65e9ce051012b3afc9a088423f9d805927604331
* Add an update option to run_tests.shMatthew Treinish2013-02-151-0/+7
| | | | | | | | This commit adds an update option to run_tests.sh. This option is used to rerun install_venv.py on an already installed venv. This will then just update out of date packages with pip. Change-Id: I8a0a8ba5a9015950bc271f11cbc77308d993fde3
* Revert "shorten pep8 output"Dolph Mathews2013-01-041-1/+1
| | | | | Verbose PEP8 output is explicitly intended to make it easier for new contributors to propose acceptable patches. This reverts commit 1f01d30983e3a67a146308ff8766f057bc5b7958
* shorten pep8 outputAdam Young2012-12-211-1/+1
| | | | | | | | | | | This removes the PEP8 output that describes in detail how to fix each problem. It makes pep8 review so long that the earliest lines scroll out of the scrollback buffer before they can even be read. With this change, each violation is on line long, which is much more readable. Change-Id: I0d8cc64fd6027419754732e314c047b3775a121c
* syncing run_tests to match toxJoe Heck2012-11-211-1/+1
| | | | Change-Id: Ide81b1ea9230ceb2ad463d4f253eb7021fc683da
* ignore .tox directory for pep8 in runtestsJoe Heck2012-11-011-3/+3
| | | | Change-Id: I34c6f4fe8ff51221bd188fbce89ba89a56aae0b7
* Ignore keystone.openstack for PEP8Dolph Mathews2012-10-261-7/+6
| | | | | | | | | | | | | | tox.ini already ignores keystone.openstack, so run_tests.sh should as well. - Fixed: No files were being ignored - Removed non-existent files from ignored list - Using commas to seperate ignored files Colons didn't work at all for me, and the pep8 man page illustrates the use of commas. Change-Id: Icd260ba5c0fa37040f66d1f913fc7940d69eda68
* fixes bug 1058429Joe Heck2012-09-301-1/+1
| | | | | | remove redirect to logfile with updated test runner Change-Id: I27923e7c91fbe3c57adfae210467fffaf9f52d80
* Remove run_test.py in favor of stock nose.Monty Taylor2012-09-271-1/+5
| | | | | | | | | | | | Move specific functionality into test fixtures, so that normal test runners can work. For now, this means we can use unaltered nose. For the future, it gets us closer to being able to use other test runners such as testrepository which allow for things like parallel test runs and re-running failed tests in a dev/test cycle. Also, aligns keystone with nova and glance. Change-Id: Ic1966281c0bdfbc09792360209692e9d4a0a51a7
* Run pep8 for tests.Rafael Durán Castañeda2012-07-061-1/+1
| | | | | | | | | Fixes bug 1021508 Test code should be as pep8 compliant as source code, however right now 'run_tests.sh' only runs pep8 for source code. Change-Id: I877493a8bf6f28bef71fe2aca6f188a75798225f
* enables run_test option to skip integrationJoe Heck2012-03-091-0/+8
| | | | | | * fixes bug 948495 Change-Id: I274bfe9611d677c44117a0d9ff67394790794fc4
* Added license header (bug 929663)Dolph Mathews2012-03-091-0/+14
| | | | Change-Id: Ia36a22f2d6bba411e4fad81ea2d6fa1f0465a733
* Normalize build files with current jenkins.Monty Taylor2012-01-311-2/+1
| | | | Change-Id: I528c3cc4e16dfa1465c8e3ac1062c65dc2ddc2f0
* keystone_compat -> servicetermie2012-01-091-1/+1
|
* renaming keystonelight to keystoneJoe Heck2012-01-091-1/+1
|
* tweaking for running regular tests in jenkinsJoe Heck2012-01-061-1/+1
|
* speed up teststermie2011-12-271-1/+1
|
* don't pep8 swp filestermie2011-11-141-1/+1
|
* add run_tests.sh and pep8 stufftermie2011-11-071-0/+153