Skip to content

OS2 tests scripts doesn't work any more #7756

@jeromecoutant

Description

@jeromecoutant

Description

Since #7183, OS2 tests can't be executed

@theotherjimmy @cmonr

python tools/singletest.py -M muts_test.json -i muts_compilation.json -V -j 4

Traceback (most recent call last):
  File "tools/singletest.py", line 262, in <module>
    if (singletest_in_cli_mode(single_test)):
  File "C:\github\mbed\tools\test_api.py", line 1551, in singletest_in_cli_mode
    test_summary, shuffle_seed, test_summary_ext, test_suite_properties_ext, build_report, build_properties = single_test.execute()
  File "C:\github\mbed\tools\test_api.py", line 655, in execute
    self.execute_thread_slice(q, target, toolchains, clean, test_ids, self.build_report, self.build_properties)
  File "C:\github\mbed\tools\test_api.py", line 584, in execute_thread_slice
    handle_results = self.handle(test_spec, target, toolchain, test_loops=test_loops)
  File "C:\github\mbed\tools\test_api.py", line 1029, in handle
    handle_result = self.handle_mut(mut, data, target_name, toolchain_name, test_loops=test_loops)
  File "C:\github\mbed\tools\test_api.py", line 944, in handle_mut
    if not exists(image_path):
  File "C:\Python27\lib\genericpath.py", line 26, in exists
    os.stat(path)
TypeError: coercing to Unicode: need string or buffer, list found

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions