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
andy
9dfdbe11b8
Add some useful features to our flags
...
* No longer dies if there are unknown flags.
* Allows you to declare that you will use a flag from another file
* Allows you to import new flags at runtime and reparses the original
arguments to fill them once they are accessed.
2010-07-29 19:53:00 +02:00
Monty Taylor
464311c787
Made run_tests.sh executable.
2010-07-27 21:39:58 -07:00
Monty Taylor
849a4062cd
Changed Makefile to shell script. The Makefile approach completely broke
...
debhelper's ability to figure out that this was a python package.
2010-07-27 21:35:55 -07:00