Skip to content

Commit 71cb812

Browse files
author
Jamie Smith
authored
Fix deprecation issues with older Python code (#296)
* Fix deprecation issues with older Python code * Remove mbed_greentea package
1 parent 25dbf7c commit 71cb812

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+76
-5127
lines changed

.github/workflows/basic_checks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ jobs:
158158
doxyfile-path: ./doxyfile_options
159159

160160
python-tests:
161-
# these tests run in 3.7, hence running in vm not in pre-built docker
162161
runs-on: ubuntu-latest
163162
steps:
164163
-

tools/cmake/mbed-run-greentea-test.in.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ set(MBEDHTRUN_ARGS --skip-flashing @MBED_HTRUN_ARGUMENTS@) # filled in by config
1616
string(REPLACE ";" " " MBEDHTRUN_ARGS_FOR_DISPLAY "${MBEDHTRUN_ARGS}")
1717
message("Executing: @Python3_EXECUTABLE@ -m mbed_host_tests.mbedhtrun ${MBEDHTRUN_ARGS_FOR_DISPLAY}")
1818

19-
# Note: For this command, we need to survive mbedhtrun not being on the PATH, so we import the package and call the main function using "python -c"
2019
execute_process(
2120
COMMAND @Python3_EXECUTABLE@ -m mbed_host_tests.mbedhtrun ${MBEDHTRUN_ARGS}
2221
WORKING_DIRECTORY "@mbed-os_SOURCE_DIR@/tools/python"

tools/python/mbed_greentea/README.md

Lines changed: 0 additions & 227 deletions
This file was deleted.

tools/python/mbed_greentea/__init__.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

tools/python/mbed_greentea/__main__.py

Lines changed: 0 additions & 19 deletions
This file was deleted.

tools/python/mbed_greentea/cmake_handlers.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

tools/python/mbed_greentea/mbed_common_api.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

tools/python/mbed_greentea/mbed_coverage_api.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)