Whamcloud - gitweb
LU-1779 tests: fix run_one_logged() to log SKIP status
authorYu Jian <yujian@whamcloud.com>
Sat, 5 Jan 2013 07:28:02 +0000 (15:28 +0800)
committerJohann Lombardi <johann.lombardi@intel.com>
Mon, 14 Jan 2013 11:44:00 +0000 (06:44 -0500)
commitadb9d9e43aafd27e9e840d53a56f7089bb905b12
tree3a147912c1a4c6cd0baf04e6a400db9ccae56c64
parent74b46cfd1bb1cdca0e4e3aaaa780f5f8360b394b
LU-1779 tests: fix run_one_logged() to log SKIP status

In the current test framework, only those tests which are in the
$ALWAYS_EXCEPT list are logged with SKIP status, other skipped
tests are all logged with PASS status.

This patch fixes the above issue by setting the SKIP status in
pass() and logging the status in run_one_logged().

Test-Parameters: clientarch=x86_64 serverarch=x86_64 testlist=mmp
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: I766cf6d2bb984b6097b20d2c089925890b86f9b1
Reviewed-on: http://review.whamcloud.com/4955
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/test-framework.sh