xfstests: include test subdirectory support
authorDave Chinner <dchinner@redhat.com>
Fri, 15 Mar 2013 12:27:54 +0000 (12:27 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 26 Mar 2013 15:40:20 +0000 (10:40 -0500)
commit971fe108bbfa79f7487192cc7d5a57adb02580a0
tree2ffc6fd973c12edffb19020126e310fff783e114
parent27c2198f1d55dfc48f187f46c738ef8b424805b8
xfstests: include test subdirectory support

Create a specific tests/ subdirectory to hold all the tests so they
are no longer need to be in the top level directory. This patch does
not move any tests there, however, and that will be done in
subsequent commits.

The tests/ subdir will have it's own subdirectories for different
classes of tests. Initially, there will be a per-FSTYP subdirectory
for filesytsem specific tests, and a generic directory for tests
that span multiple filesystems.

Each class will have it's own group file to indicate what groups the
tests belong to, and these will be parsed appropriately by the high
level check script to build the test list.

The change in parsing results in the test output also emitting the
path to the test as well as the name of the test, instead of just a
raw number. This allows duplicate test names in the sudirecotries to
be unambiguous when the summary is written out.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Phil White <pwhite@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
check
tests/generic/group [new file with mode: 0644]