Skip to content

Commit 2ecbf6b

Browse files
committed
Update circle test
1 parent f20e459 commit 2ecbf6b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

circle.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ test:
2222
- cd .tests/bld-test/mbed && mbed update 85 --clean
2323
- cd .tests/bld-test && mbed update --clean
2424
- cd .tests/bld-test && mbed compile -m LPC1768 -j 0
25-
- cd .tests && mbed new new-offline --offline
25+
- cd .tests && mbed import https://github.com/ARMmbed/mbed-os-example-mesh-minimal offline-test
26+
- cd .tests/offline-test && mbed update mbed-os-5.5.6 --offline
27+
- cd .tests/offline-test && mbed update mbed-os-5.7.5 --offline
2628
- cd .tests && mbed new supported-tests
2729
- |-
2830
cd .tests/supported-tests

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@ def update(rev=None, clean=False, clean_files=False, clean_deps=False, ignore=Fa
21742174
except ProcessException as e:
21752175
err = "Unable to update \"%s\" to %s" % (repo.name, repo.revtype(rev))
21762176
if offline:
2177-
err = err + "\nThis might be caused by offline mode ('--offline' used).\nYou should try without offline mode."
2177+
err = err + "\nThis might be caused by offline mode ('--offline' used). You should try without offline mode."
21782178
elif depth:
21792179
err = err + ("\nThis might be caused by the '--depth' option, which prevents fetching the whole revision history." % (repo.revtype(repo.rev)))
21802180
if ignore:

0 commit comments

Comments
 (0)