diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-11-23 15:43:39 +0800 |
---|---|---|
committer | Serena Feng <feng.xiaowei@zte.com.cn> | 2016-11-23 07:49:37 +0000 |
commit | a41264c46d583a68d48de041663213752dc62bf3 (patch) | |
tree | 6907adb6f728b85c7198ceda73ae6cbcb6a7029e /functest/core | |
parent | c825e41b2ec5ddccd051e7764496e4a2de71fef6 (diff) |
solve failure testcases are not pushed to testDB problem
In the new framework, only success testcases will be pushed to testDB,
a failure testcases will not be pushed to testDB, which is not correct
Modify it with only skipped testcases will not be pushed to testDB
Change-Id: Ie3cb06ef0d0f75a7ab0b540d2f9f79d4b56746e6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'functest/core')
-rw-r--r-- | functest/core/TestCasesBase.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/core/TestCasesBase.py b/functest/core/TestCasesBase.py index 777b09f0..725e17af 100644 --- a/functest/core/TestCasesBase.py +++ b/functest/core/TestCasesBase.py @@ -18,6 +18,7 @@ class TestCasesBase(object): EX_OK = os.EX_OK EX_RUN_ERROR = os.EX_SOFTWARE EX_PUSH_TO_DB_ERROR = os.EX_SOFTWARE - 1 + EX_SKIP = os.EX_SOFTWARE - 2 logger = ft_logger.Logger(__name__).getLogger() |