Commit Graph

4 Commits (027f2b23ccb64829df86f9ec263469f80605e24a)

Author SHA1 Message Date
Sarah Marsh 027f2b23cc New export-build tests.
Allows command line workflow of:
mbed import
mbed export

Also revises exporter supported target checks
2016-11-08 10:44:19 +00:00
Anna Bridge 1a1c41e40d Minor review comments plus add new 'compile' option to examples json file.
Adding the new compile option allows the marking of a set of examples to
indicate whether they should be compiled or not. For the update process
examples that are not compiled will not be auto updated irrespective of
that setting.
Other changes to make return logic from some functions in update.py more
efficient and some typos in the lib file.
2016-11-08 10:43:45 +00:00
Anna Bridge 56c0a4d148 Review: Update example_lib.py to use rmtree rather than rm system call. Update examples.json to limit TLS examples to a couple of boards and only GCC_ARM and ARM compilers. 2016-11-08 10:43:44 +00:00
Anna Bridge 0665a17e91 Make update.py test compile examples prior to updating mbed-os version.
Changes:
Refactor examples.py to add a new command line option to provide an update
tag.
Refactor examples.py to add new functionality to update the version of
mbed-os in the examples to a supplied tag.
Refactor examples.py to make cloning the example repos, updating their
mbed-os version and compiling, into library functions and move to a new
library module.
Refactor the format of the examples.json file to make it compatible with
both examples.py and update.py.
Refactor update.py so that examples are test compiled prior to updating.
Refactor update.py so that only examples tagged as auto-updatable and that
fully compile are automatically updated.
2016-11-08 10:43:43 +00:00