Commit Graph

53 Commits

Author SHA1 Message Date
Christopher MacGown 91eaa64750 Fix ugly little violations before someone says anything 2011-08-12 14:33:27 -07:00
Christopher MacGown 3f82580b98 Merge config_drive with trunk 2011-08-12 14:23:10 -07:00
Christopher MacGown d963e25906 Config-Drive happiness, minus smoketest 2011-07-22 20:29:37 -07:00
Lorin Hochstein 85ba5628d6 Slight indentation change 2011-07-21 10:47:34 -04:00
Lorin Hochstein 6e59df9151 Added call to second coverage invocation 2011-07-21 10:43:20 -04:00
Lorin Hochstein eed00e5c82 Fixed an issue where was invoked before it was defined in the case of a venv 2011-07-21 10:30:55 -04:00
Lorin Hochstein 90c8a7c73d Zapped an extra newline 2011-07-19 11:04:36 -04:00
Lorin Hochstein 05751530cd Add support for generating local code coverage report 2011-07-19 10:52:38 -04:00
Thierry Carrez 7c270b077a Silence warning in case tests.sqlite doesn't exist 2011-07-04 17:31:24 +02:00
Vishvananda Ishaya c6e220af60 change the default to recreate the db but allow -n for faster tests 2011-06-29 07:47:51 -07:00
Vishvananda Ishaya 9978d656d2 only create the db if it doesn't exist, add an option -r to run_tests.py to delete it 2011-06-25 17:26:38 -07:00
Rick Harris 43dd1ec608 Showing elapsed time is now default 2011-06-15 01:21:11 +00:00
Rick Harris e20444542a Ensuring pep8 runs even when nose optons are passed 2011-06-15 01:16:53 +00:00
Rick Harris 3368a35ff9 Removing seconds unit 2011-06-15 00:08:19 +00:00
Rick Harris 00071a6e0b Adds --show-elapsed option for run_tests 2011-06-14 01:21:08 +00:00
Alex Meade d4742cf850 Added virtual environment to PEP8 tests 2011-06-07 16:08:25 -04:00
Justin Shepherd 67148b1093 Added opt-out system for excluding files/dirs from pep8 (using GLOBIGNORE). 2011-05-16 20:08:51 -05:00
Justin Shepherd e2a1258458 Removed tools/clean_vlans and tools/nova-debug from pep8 tests as they are shell scripts 2011-05-16 08:26:39 -05:00
Justin Shepherd 93fad121c2 Added lines to include tools/* (except ajaxterm) in pep8 tests 2011-05-16 08:23:10 -05:00
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. 2011-05-02 19:17:09 +00:00
Alex Meade 10552f691b Updated run_tests.sh usage info to reflect the --stop flag 2011-04-26 13:22:24 -04:00
Naveed Massjouni 2ea651dad0 Exit early if tests fail, before pep8 is run. 2011-04-20 16:27:33 -04:00
Naveed Massjouni 33ca304f4c Changed pep8 command line option from --just-pep8 to --pep8. 2011-04-13 12:46:51 -04:00
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
2011-04-06 18:17:43 -04:00
Rick Harris c8345c9ebc Merging trunk, small fixes 2011-02-25 01:31:02 +00:00
Vishvananda Ishaya 3aa0183bca fix missed err.log 2011-02-23 18:54:13 -08:00
Vishvananda Ishaya 5e2f82b148 revert logfile redirection and make colors work by temporarily switching stdout 2011-02-23 15:29:02 -08:00
Vishvananda Ishaya f4c95e1f18 merged trunk 2011-02-23 15:27:54 -08:00
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
2011-02-23 18:46:38 +00:00
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. 2011-02-23 18:11:35 +00:00
termie 2bbbfc5af6 dump error output directly on short import errors 2011-02-23 08:46:11 -08:00
Vishvananda Ishaya 0f402b72cb update based on prereq branch 2011-02-21 16:22:09 -08:00
Vishvananda Ishaya 71f7119910 remove changes to test db 2011-02-21 16:05:28 -08:00
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. 2011-02-17 15:00:18 -08:00
Rick Harris 8dceaccb81 Typo fixes 2011-02-17 07:58:42 +00:00
Rick Harris 585ba4d6cf Putting glance plugin under pep8 control 2011-02-16 18:43:55 +00:00
termie 86b96d377c Only run pep8 after tests if running all the tests 2011-01-30 21:55:32 -08:00
Soren Hansen 2c75ad02c5 Exclude vcsversion.py from pep8 check. It's not compliant, but out of our control. 2011-01-20 01:23:57 +01:00
Soren Hansen 96a7787874 Return non-zero if either unit tests or pep8 fails. 2011-01-19 23:15:20 +01:00
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.
2011-01-19 10:50:54 +01:00
termie 2ed57981b1 merge from upstream and fix conflicts 2010-12-28 13:43:35 -08:00
termie 7e469690f0 Output of run_tests.sh to be closer to trial 2010-12-28 01:40:24 -08:00
Ewan Mellor 821fc6b5bc Bug #694890: run_tests.sh sometimes doesn't pass arguments to nosetest
Change the argument parsing in run_tests.sh so that we explicitly gather
the arguments that aren't meant for run_tests.sh, and pass them on to
nosetests.
2010-12-28 01:09:42 +00:00
Eric Day b1d4579404 Fixed network test (thanks Vish!) and fixed run_tests.sh. 2010-12-16 17:29:26 -08:00
Andy Smith e80e91bd65 Also accept 'y' 2010-10-15 16:06:12 +09:00
Andy Smith 68c8f2ba17 make run_tests.sh's default perform as expected 2010-10-15 15:25:29 +09:00
jaypipes@gmail.com 7c8c2f57c7 Adds --force option to run_tests.sh to clear virtualenv. Useful when dependencies change 2010-09-28 14:48:03 -04:00
jaypipes@gmail.com 3d15adb40c Merge case statement options 2010-08-13 10:14:34 -04:00
jaypipes@gmail.com fb382c8e70 Adapts the run_tests.sh script to allow interactive or automated creation of virtualenv, or to run tests outside of a virtualenv 2010-08-11 17:40:28 -04:00
jaypipes@gmail.com 8c7558ed5a Changes the run_tests.sh and /tools/install_venv.py scripts to be more user-friendly and not depend on PIP while not in the virtual environment. Running run_tests.sh should not just work out of the box on all systems supporting easy_install... 2010-08-10 12:44:38 -04:00