Code review comment for lp:~yamahata/glance/lp802883

Revision history for this message
Isaku Yamahata (yamahata) wrote :

On Tue, Jun 28, 2011 at 11:39:30PM -0000, Brian Lamar wrote:
> Can you give an example of what options you're passing to run_tests.py to get the failure and what the failure is? I can run /run_tests.sh -V tests.unit.test_config and everything works fine...but I'm not certain what option options I would pass... Thanks!

What I want is run_tests.sh [-V] --pudb --pudb-failure with nosepudb
installed. With that, when tests fail or unexpected exception is raised,
the debugger is automatically activated and we can investigate what went
wrong.

It is possible with nova's test_run.py, but not with glance's.
So I made it work with three fixes. It's quite useful and it harms nothing.
--
yamahata

« Back to merge proposal