diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-02-11 18:44:03 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-02-11 23:52:33 +0100 |
commit | d922142a646d670c2f9eda40481d912caba93e15 (patch) | |
tree | 0d8e8ff78a79e99616a58db3154972c5162315f2 /xtesting | |
parent | 1790561f4988d05d6436236c837c0793d0020863 (diff) |
Create dummy xtesting-mts:arm
Change-Id: Ib6cc1236aa46b7fb1fd9dfa96750894d87c3563e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 239dc4006e01b78b5a3bda9faec604f19bcf87e7)
Diffstat (limited to 'xtesting')
-rw-r--r-- | xtesting/core/mts.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xtesting/core/mts.py b/xtesting/core/mts.py index ec6766d2..d6865a61 100644 --- a/xtesting/core/mts.py +++ b/xtesting/core/mts.py @@ -40,6 +40,14 @@ class MTSLauncher(testcase.TestCase): __logger = logging.getLogger(__name__) mts_install_dir = "/opt/mts" + def check_requirements(self): + """Check if startCmd.sh is in /opt/mts/bin""" + if not os.path.exists( + os.path.join(self.mts_install_dir, 'bin/startCmd.sh')): + self.__logger.warning( + "mts is not available for arm for the time being") + self.is_skipped = True + def __init__(self, **kwargs): super(MTSLauncher, self).__init__(**kwargs) self.result_file = "{}/{}.log".format(self.res_dir, self.case_name) |