aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-02-11 18:44:03 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-02-11 18:56:48 +0100
commit239dc4006e01b78b5a3bda9faec604f19bcf87e7 (patch)
tree4127acafab90b504f413cdff80148c214300244c /xtesting/core
parent2522c7336971aa7c5c1dba2dcede5137319e6d84 (diff)
Create dummy xtesting-mts:arm
Change-Id: Ib6cc1236aa46b7fb1fd9dfa96750894d87c3563e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting/core')
-rw-r--r--xtesting/core/mts.py8
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)