aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/tests/run_unit_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/tests/run_unit_tests.py')
-rwxr-xr-xmpm/python/tests/run_unit_tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/mpm/python/tests/run_unit_tests.py b/mpm/python/tests/run_unit_tests.py
index c563804ae..a26fa1d22 100755
--- a/mpm/python/tests/run_unit_tests.py
+++ b/mpm/python/tests/run_unit_tests.py
@@ -13,6 +13,7 @@ import argparse
from sys_utils_tests import TestNet
from mpm_utils_tests import TestMpmUtils
from eeprom_tests import TestEeprom
+from usrp_mpm import __simulated__
import importlib.util
if importlib.util.find_spec("xmlrunner"):
@@ -25,8 +26,15 @@ TESTS = {
TestEeprom,
},
'n3xx': set(),
+ 'x4xx': set()
}
+if not __simulated__:
+ from components_tests import TestZynqComponents
+ TESTS['x4xx'].update({
+ TestZynqComponents
+ })
+
def parse_args():
"""Parse arguments when running this as a script"""
parser_help = 'Run MPM Python unittests'