aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core/mts.py
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/core/mts.py')
-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 3cfbea0d..a3cbab9d 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)