c64c7691127702131959e57f830c1cd977954e24
61 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
James E. Blair
|
5235106e95 |
Rename .nova-venv to .venv.
This simplifies a number of Jenkins jobs which currently, other than directory names, could be the same for all OpenStack projects. By renaming the virtualenv directory, the redundant Jenkins virtualenv build and copy jobs can be eliminated. Change-Id: Ieaf1dac3207ecb34b911c7edcd2086809abdf49e |
||
|
Jenkins
|
0b28e574af | Merge "First steps towards consolidating testing infrastructure" | ||
|
Duncan McGreggor
|
f845891184 |
First steps towards consolidating testing infrastructure
This commit begins to implement blueprint consolidate-testing-infrastructure by adding a 'testing' subpackage and moving some modules into it. Change-Id: I04bf860bc386bd2016e7dbc5a6f6ef7379a855bb |
||
|
Mark McLoughlin
|
0bbb0e8cb1 |
Remove some remnants of ChangeLog and vcsversion.py generation
Since moving to bzr, we no longer generate ChangeLog and vcsversion.py
and since commit
|
||
|
Lorin Hochstein
|
b08bd96ce5 |
Optional --no-site-packages in venv
Added a flag to run_tests.sh to allow user to optionally install venv with --no-site-packages. This fixes bug 880905 Change-Id: Ic645e0ec56c90b72fef526ebc9f55975d446e2ae |
||
|
Rick Harris
|
f225ea4f2f |
Deallocate ip if build fails.
Fixes LP837687 Change-Id: I7c0ea900225024e69a0265c430724930ce7b892d |
||
|
Monty Taylor
|
21dcf669c7 |
Fix outstanding pep8 errors for a clean trunk.
Also, add an option to run_tests.sh to skip running pep8. We have a separate job in Jenkins which runs pep8, so there's no need to spin our wheels on it during the test run. Change-Id: I552330994e55a36fa96b63658493ed30e2720c85 |
||
|
Ewan Mellor
|
07cbdbedca |
Bug #835952 : pep8 failures do not cause the tests to fail
Add set -eu to run_tests.sh. This will cause it to fail whenever anything goes wrong, which is exactly what we want in a test script. To do this, I had to remove the use of the "let" keyword, which has a bizarre exit status in bash. I also removed the "|| exit" after run_tests, which means that this script will now exit with status 1, not status 0, if run_tests fails. |
||
|
Christopher MacGown
|
91eaa64750 | Fix ugly little violations before someone says anything | ||
|
Christopher MacGown
|
3f82580b98 | Merge config_drive with trunk | ||
|
Christopher MacGown
|
d963e25906 | Config-Drive happiness, minus smoketest | ||
|
Lorin Hochstein
|
85ba5628d6 | Slight indentation change | ||
|
Lorin Hochstein
|
6e59df9151 | Added call to second coverage invocation | ||
|
Lorin Hochstein
|
eed00e5c82 | Fixed an issue where was invoked before it was defined in the case of a venv | ||
|
Lorin Hochstein
|
90c8a7c73d | Zapped an extra newline | ||
|
Lorin Hochstein
|
05751530cd | Add support for generating local code coverage report | ||
|
Thierry Carrez
|
7c270b077a | Silence warning in case tests.sqlite doesn't exist | ||
|
Vishvananda Ishaya
|
c6e220af60 | change the default to recreate the db but allow -n for faster tests | ||
|
Vishvananda Ishaya
|
9978d656d2 | only create the db if it doesn't exist, add an option -r to run_tests.py to delete it | ||
|
Rick Harris
|
43dd1ec608 | Showing elapsed time is now default | ||
|
Rick Harris
|
e20444542a | Ensuring pep8 runs even when nose optons are passed | ||
|
Rick Harris
|
3368a35ff9 | Removing seconds unit | ||
|
Rick Harris
|
00071a6e0b | Adds --show-elapsed option for run_tests | ||
|
Alex Meade
|
d4742cf850 | Added virtual environment to PEP8 tests | ||
|
Justin Shepherd
|
67148b1093 | Added opt-out system for excluding files/dirs from pep8 (using GLOBIGNORE). | ||
|
Justin Shepherd
|
e2a1258458 | Removed tools/clean_vlans and tools/nova-debug from pep8 tests as they are shell scripts | ||
|
Justin Shepherd
|
93fad121c2 | Added lines to include tools/* (except ajaxterm) in pep8 tests | ||
|
Alex Meade
|
1a25bb43f6 | Since run_tests.sh utilizes nose to run its tests, the -x, --stop flag works correctly for halting tests on the first failed test. The usage information for run_tests.sh now includes the --stop flag. | ||
|
Alex Meade
|
10552f691b | Updated run_tests.sh usage info to reflect the --stop flag | ||
|
Naveed Massjouni
|
2ea651dad0 | Exit early if tests fail, before pep8 is run. | ||
|
Naveed Massjouni
|
33ca304f4c | Changed pep8 command line option from --just-pep8 to --pep8. | ||
|
Naveed Massjouni
|
14833117f1 |
Added an option to run_tests.sh so you can run just pep8. So now you can:
./run_tests.sh --just-pep8 or ./run_tests.sh -p |
||
|
Rick Harris
|
c8345c9ebc | Merging trunk, small fixes | ||
|
Vishvananda Ishaya
|
3aa0183bca | fix missed err.log | ||
|
Vishvananda Ishaya
|
5e2f82b148 | revert logfile redirection and make colors work by temporarily switching stdout | ||
|
Vishvananda Ishaya
|
f4c95e1f18 | merged trunk | ||
|
termie
|
dbb77c920c |
Adds some features to run_tests.sh:
- if it crashes right away with a short erorr log, print that directly - allow specifying tests without the nova.tests part |
||
|
Justin Santa Barbara
|
70bc1d4280 | Initial support for per-instance metadata, though the OpenStack API. Key/value pairs can be specified at instance creation time and are returned in the details view. Support limits based on quota system. | ||
|
termie
|
2bbbfc5af6 | dump error output directly on short import errors | ||
|
Vishvananda Ishaya
|
0f402b72cb | update based on prereq branch | ||
|
Vishvananda Ishaya
|
71f7119910 | remove changes to test db | ||
|
Justin Santa Barbara
|
9a7213b615 | Initial support for per-instance metadata, though the OpenStack API. Key/value pairs can be specified at instance creation time and are returned in the details view. Support limits based on quota system. | ||
|
Rick Harris
|
8dceaccb81 | Typo fixes | ||
|
Rick Harris
|
585ba4d6cf | Putting glance plugin under pep8 control | ||
|
termie
|
86b96d377c | Only run pep8 after tests if running all the tests | ||
|
Soren Hansen
|
2c75ad02c5 | Exclude vcsversion.py from pep8 check. It's not compliant, but out of our control. | ||
|
Soren Hansen
|
96a7787874 | Return non-zero if either unit tests or pep8 fails. | ||
|
Soren Hansen
|
50ec058cc7 |
Refactor run_tests.sh to allow us to run an extra command after the tests.
Run pep8 after unit tests in run_tests.sh. Fix setup.py to be PEP-8 compliant. |
||
|
termie
|
2ed57981b1 | merge from upstream and fix conflicts | ||
|
termie
|
7e469690f0 | Output of run_tests.sh to be closer to trial |