<div dir="ltr">On Wed, Oct 30, 2013 at 7:02 PM, Vijay B <span dir="ltr"><<a href="mailto:os.vbvs@gmail.com" target="_blank">os.vbvs@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>How can we skip certain unit tests when running run_tests.sh? I'm looking at the Openstack unit test page </div></div></blockquote><div><br></div><div>If it's not too late you may skip tests with testr/run_tests.sh. List all tests using testr & store in a file, exclude the tests and feed the file that has tests to execute to run_tests.sh script. Something in these lines, assuming you use venv ...</div>
<div><br></div><div>. .venv/bin/activate && testr list-tests | egrep -v 'exclude_test1|exclude_test2' > execute-tests && deactivate</div><div>./run_tests.sh -- --load-list=execute-tests</div></div>
<div><br></div>-- <br><div dir="ltr">Regards,<br>Bhuvan Arumugam<div><a href="http://www.livecipher.com" target="_blank">www.livecipher.com</a></div></div>
</div></div>