Skip to content
Snippets Groups Projects
Commit e3b09c0e authored by Martin Bauer's avatar Martin Bauer
Browse files

MRT test seems to cause Visual Studio compiler on CI system to hang forever

- works on newer VS compiler locally
- comment this test out until CI system is properly updated
parent 678cadb6
No related merge requests found
Pipeline #21250 passed with stages
in 5 minutes and 14 seconds
...@@ -10,7 +10,7 @@ from version_from_git import version_number_from_git ...@@ -10,7 +10,7 @@ from version_from_git import version_number_from_git
quick_tests = [ quick_tests = [
'test_serial_scenarios.test_ldc_mrt', #'test_serial_scenarios.test_ldc_mrt',
'test_serial_scenarios.test_channel_srt', 'test_serial_scenarios.test_channel_srt',
] ]
...@@ -24,17 +24,12 @@ class SimpleTestRunner(distutils.cmd.Command): ...@@ -24,17 +24,12 @@ class SimpleTestRunner(distutils.cmd.Command):
@staticmethod @staticmethod
def _run_tests_in_module(test): def _run_tests_in_module(test):
"""Short test runner function - to work also if py.test is not installed.""" """Short test runner function - to work also if py.test is not installed."""
print("at start")
test = 'lbmpy_tests.' + test test = 'lbmpy_tests.' + test
mod, function_name = test.rsplit('.', 1) mod, function_name = test.rsplit('.', 1)
if isinstance(mod, str): if isinstance(mod, str):
print("before import ", mod)
mod = import_module(mod) mod = import_module(mod)
print("after import ", mod)
print("before getattr")
func = getattr(mod, function_name) func = getattr(mod, function_name)
print(" -> %s in %s" % (function_name, mod.__name__))
with redirect_stdout(io.StringIO()): with redirect_stdout(io.StringIO()):
func() func()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment