Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOT_SUPPORTED error was not supported any more in test_api.py script #6939

Merged
merged 1 commit into from
May 21, 2018

Conversation

jeromecoutant
Copy link
Collaborator

Description

If OS2 test contains the NOT_SUPPORTED error directive, script was crashing:

[Error] : #35: #error directive: [NOT_SUPPORTED]
Traceback (most recent call last):
File "tools/singletest.py", line 262, in
if (singletest_in_cli_mode(single_test)):
File "C:\github\mbed\tools\test_api.py", line 1545, 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 649, 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 529, in execute_thread_slice
print(elf.logger.log_line(
NameError: global name 'elf' is not defined

@theotherjimmy

Pull request type

[X] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change

@0xc0170
Copy link
Contributor

0xc0170 commented May 17, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented May 17, 2018

Build : FAILURE

Build number : 2045
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6939/

@0xc0170
Copy link
Contributor

0xc0170 commented May 20, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented May 20, 2018

Build : SUCCESS

Build number : 2074
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6939/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented May 20, 2018

@mbed-ci
Copy link

mbed-ci commented May 20, 2018

@jeromecoutant
Copy link
Collaborator Author

Hi
Please add this patch in the next os2 release version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants