42a96d7ca0d6dc1fe5c048e67d5649bf5b513d0d
75 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Hengqing Hu
|
9a042d3c50 |
Remove trailing whitespaces in regular file
Fixes bug #945346 Change-Id: I07a303c2e503e50d7138585c683e0d1310339276 |
||
|
Jason Kölker
|
a7df900895 |
Monkey patch migrate < 0.7.3
* Works around migrate issue 72 [1] by monkey patching migrate prior to import. * Removes previous workaround * Refactor test config to work under nosetests directly * Fixes LP940407 1: https://code.google.com/p/sqlalchemy-migrate/issues/detail?id=72 Change-Id: I219e4cecf8bb2e34ae238ac270428f496378ee61 |
||
|
Jenkins
|
0c6765a71a | Merge "Make database downgrade works" | ||
|
Joe Gordon
|
1fc7c0c534 |
Clarify use of Use of deprecated md5 library
See Invalid bug 937463 for more details Also change run_tests.sh to ignore more '*.pyc' files Change-Id: I8c8ded902833fe4268966ff7a9630daaaad43a19 |
||
|
Monty Taylor
|
f86ec68be7 |
Stop ignoring E202.
There is absolutely no reason to ignore E202 in the pep8 checks. Change-Id: I4abf767639dd94e9e8b7b4a405b4a702a554b876 |
||
|
Jenkins
|
52fbabc8af | Merge "run_tests.sh fix" | ||
|
Hengqing Hu
|
8e825c4024 |
Make database downgrade works
Fixes bug #854905 Use sqlalchemy reflection whenever possible: http://sqlalchemy-migrate.readthedocs.org/en/latest/versioning.html Work around sqlalchemy-migrate sqlite 'bool column not deletable' issue: http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=143 Add following sql scripts for sqlite: 002_sqlite_downgrade.sql 015_sqlite_downgrade.sql 033_sqlite_downgrade.sql 050_sqlite_downgrade.sql 068_sqlite_downgrade.sql Work around sqlalchemy-migrate sqlite 'table with foreign key column not deletable' issue: http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=94 Add following sql scripts for sqlite: 003_sqlite_downgrade.sql 006_sqlite_downgrade.sql 007_sqlite_downgrade.sql 012_sqlite_upgrade.sql 013_sqlite_downgrade.sql 020_sqlite_downgrade.sql 030_sqlite_downgrade.sql 038_sqlite_downgrade.sql 042_sqlite_downgrade.sql 053_sqlite_downgrade.sql 067_sqlite_downgrade.sql Work around sqlalchemy-migrate 'migrate drops engine reference' issue: http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=72 Add following sql scripts for long primary key to work with utf-8 mysql table: 072_mysql_upgrade.sql Add following sql scripts for postgresql: 002_postgresql_downgrade.sql Add snake walk test cases for database migration based on glance migration test. Change-Id: Ib454ecb4662bbf47736c1b12d9a4f969f180ceb6 |
||
|
Joe Gordon
|
a1890ea22f |
clean pyc files before running unit tests
Change-Id: If7ad58f131d8b780125df7ecb5c4081014064f72 |
||
|
Zhongyue Luo
|
e6c07cbc8b |
run_tests.sh fix
Fixes bug #929369 Fix "api-paste.ini* to "*api-paste.ini*" and remove duplicate definitions of srcfiles. Change-Id: I859783457d6c5df3f6e998e752cad648ca109b9c |
||
|
Armando Migliaccio
|
61e6f4e34a |
bug 929428: pep8 validation on all xapi plugins
check every python file under <nova_root>/plugins/xenserver/. Ignore patch files. Change-Id: Ib1170ddabe03de746aae570d30b133aaffb09c88 |
||
|
Zhongyue Luo
|
6b2fbd44f9 |
pep8 check on api-paste.ini when using devstack
Fixes bug #928976 Avoid pep8 check on api-paste.ini Change-Id: I14e84e3c704c4e90d87c73e484d8eb3b63803743 |
||
|
Thierry Carrez
|
71410724cd |
Remove ajaxterm from Nova
Removes copy of ajaxterm code, nova-ajax-console-proxy, and support for get_ajax_console from Nova proper. Implements blueprint remove-ajaxterm Fixes bug 917963 Change-Id: I2c0ff427c53c0f63a18b10475d6b4cbe9a085d83 |
||
|
Joe Gordon
|
9a08e00548 |
Add HACKING compliance testing to run_test.sh
Tests so far: N101 TODO format N201 Except format N301 One import per line N302 import only modules N303 Invalid Import N304 Relative Import Change-Id: I33c021b842e7199b1f5f1f699ea17f7fa5f8ca49 |
||
|
Rick Harris
|
8480d74fa1 |
Making pep8 output less verbose.
Fixes bug #904559 Change-Id: I078b060483890bf8bfc9b78d3174370dea4d6bbc |
||
|
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 |