Add hierarchical structure to tests/ directory

This patch allows you to have tests/a/b/foo, rather than just tests/foo

eg. this:

job.run_test('a.sleeptest', seconds = 1)
job.run_test('b.c.sleeptest', seconds = 1)

Results in:

START   ----    ----    timestamp=1269622268    localtime=Mar 26 09:51:08
       START   a.sleeptest     a.sleeptest     timestamp=1269622268
 localtime=Mar 26 09:51:08
               GOOD    a.sleeptest     a.sleeptest
timestamp=1269622270    localtime=Mar 26 09:51:10       completed
successfully
       END GOOD        a.sleeptest     a.sleeptest
timestamp=1269622270    localtime=Mar 26 09:51:10
       START   b.c.sleeptest   b.c.sleeptest   timestamp=1269622270
 localtime=Mar 26 09:51:10
               GOOD    b.c.sleeptest   b.c.sleeptest
timestamp=1269622272    localtime=Mar 26 09:51:12       completed
successfully
       END GOOD        b.c.sleeptest   b.c.sleeptest
timestamp=1269622272    localtime=Mar 26 09:51:12
END GOOD        ----    ----    timestamp=1269622272    localtime=Mar
26 09:51:12

and picks up from tests/a/sleeptest and tests/b/c/sleeptest

Signed-off-by: Martin J. Bligh <mbligh@google.com>



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