Skip to content

Commit

Permalink
Fix deprecation issues with older Python code (#296)
Browse files Browse the repository at this point in the history
* Fix deprecation issues with older Python code

* Remove mbed_greentea package
  • Loading branch information
multiplemonomials authored Jul 6, 2024
1 parent 25dbf7c commit 71cb812
Show file tree
Hide file tree
Showing 53 changed files with 76 additions and 5,127 deletions.
1 change: 0 additions & 1 deletion .github/workflows/basic_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ jobs:
doxyfile-path: ./doxyfile_options

python-tests:
# these tests run in 3.7, hence running in vm not in pre-built docker
runs-on: ubuntu-latest
steps:
-
Expand Down
1 change: 0 additions & 1 deletion tools/cmake/mbed-run-greentea-test.in.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ set(MBEDHTRUN_ARGS --skip-flashing @MBED_HTRUN_ARGUMENTS@) # filled in by config
string(REPLACE ";" " " MBEDHTRUN_ARGS_FOR_DISPLAY "${MBEDHTRUN_ARGS}")
message("Executing: @Python3_EXECUTABLE@ -m mbed_host_tests.mbedhtrun ${MBEDHTRUN_ARGS_FOR_DISPLAY}")

# 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"
execute_process(
COMMAND @Python3_EXECUTABLE@ -m mbed_host_tests.mbedhtrun ${MBEDHTRUN_ARGS}
WORKING_DIRECTORY "@mbed-os_SOURCE_DIR@/tools/python"
Expand Down
227 changes: 0 additions & 227 deletions tools/python/mbed_greentea/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions tools/python/mbed_greentea/__init__.py

This file was deleted.

19 changes: 0 additions & 19 deletions tools/python/mbed_greentea/__main__.py

This file was deleted.

25 changes: 0 additions & 25 deletions tools/python/mbed_greentea/cmake_handlers.py

This file was deleted.

23 changes: 0 additions & 23 deletions tools/python/mbed_greentea/mbed_common_api.py

This file was deleted.

23 changes: 0 additions & 23 deletions tools/python/mbed_greentea/mbed_coverage_api.py

This file was deleted.

Loading

0 comments on commit 71cb812

Please sign in to comment.