From c95cd19fbec59283607ae3c23f45efe4ad0c1954 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Wed, 14 Feb 2018 11:13:59 +0800 Subject: [PATCH] test/lvol: update the number of test cases Update the method which used to get the number of test cases. Change-Id: I4982fdabdac519b2a67ed11b3fc4b4a7ccf07bcc Signed-off-by: Chen Wang Reviewed-on: https://review.gerrithub.io/399795 Tested-by: SPDK Automated Test System Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto Reviewed-by: Daniel Verkamp --- test/lvol/test_cases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lvol/test_cases.py b/test/lvol/test_cases.py index 80bd3b3e8..99a2fcdef 100644 --- a/test/lvol/test_cases.py +++ b/test/lvol/test_cases.py @@ -21,7 +21,7 @@ def test_counter(): ''' :return: the number of tests ''' - return 37 + return ['test_case' in i for i in dir(TestCases)].count(True) def header(num):