Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion mbed/mbed.py
Original file line number Diff line number Diff line change
Expand Up @@ -2771,6 +2771,9 @@ def test_(toolchain=None, target=None, compile_list=False, run_list=False,
# Disable icetea if not supported
if not icetea_supported:
icetea = False
if not os.path.exists(os.path.join(getcwd(), 'TEST_APPS')):
warning("Cannot run icetea tests. Current folder does not contain TEST_APPS folder.")
icetea = False

# Save original working directory
orig_path = getcwd()
Expand Down Expand Up @@ -2813,7 +2816,7 @@ def test_(toolchain=None, target=None, compile_list=False, run_list=False,
env=env)
else:
warning("Unit testing is not supported with this Mbed OS version.")
else:
elif icetea or greentea:
target = program.get_target(target)
tchain = program.get_toolchain(toolchain)

Expand Down