Clean up the test discovery a bit.  Uses os.walk instead of the obsolete
os.path.walk.  Now prunes subdirectories which are not python modules
from further searching.  This will prevent any attempts to run tests
from non-repository random "data" files such as results directories, etc.

TESTED: I verified that exactly the same set of tests are found and
executed using this code as with the old code.

Signed-off-by: Gregory Smith <gps@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3358 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed