Commit Graph

153 Commits (c4220ece9b34a601c30c90dba9e1b26186a85cd6)

Author SHA1 Message Date
Shrikant Tudavekar 8c386421fb Collect build artifacts disable cleanup
In preparation to exporter tests
2017-11-03 13:02:57 +00:00
Anna Bridge 63dc29d816 Combine string constants passed to 'join' function 2017-11-03 12:59:06 +00:00
adbridge 8d9e052697 Improve domain handling and status checking of updated examples.
All the examples cloned from Mercurial should use the new
os.mbed.com domain. Thus update corrects that.

A new option has been added to the update.py script , -s which shows
the status of any PRs raised against the examples that are tagged with
the current release label.
2017-11-03 12:59:06 +00:00
Jimmy Brisson 3387ddcd3e Test the supported check in the ARM toolchains
They fail right now, Cores are not checked
2017-11-03 12:59:04 +00:00
Kevin Gilbert 10b7613b03 Remove -p as an argument flag for profile 2017-10-20 16:18:28 +01:00
Kevin Gilbert 3c3e2800b8 Add profile argument to mbed-os example build tools to allow non-default build profiles to be passed in 2017-10-20 16:18:28 +01:00
adbridge 4892b5476e Move to using command strings rather than command lists.
Previously the script used
cmd =['git','checkout', branch]
syntax. This does not work well cross platform. The solution it to
actually use strings. E.g.
cmd = "git checkout " + branch
2017-10-20 16:18:28 +01:00
adbridge 4c40c248c0 Fix the prepare_branch function
Currently when checking if the destination branch already exists the
command 'git branch' is used. This only returns local branches. What is
actually required is the list of remote branches. This can be obtained
by the command 'git branch -r' and filtering the result.
2017-10-20 16:18:28 +01:00
David Walters a5f691ddd4 Changed type => test_type 2017-10-20 16:18:27 +01:00
David Walters 9a5aa7237f Minor copy edits, added comment 2017-10-20 16:18:26 +01:00
David Walters d3af9964e1 Increased test coverage / mocking of external modules 2017-10-20 16:18:26 +01:00
David Walters dcc4f1bd76 Removing unused imports/update copywright` 2017-10-20 16:18:26 +01:00
David Walters 41f761e474 Added safety check, added test converage for new function 2017-10-20 16:18:26 +01:00
Shrikant Tudavekar 795c0f1255 Add retry to handle git clone failure
more info on https://github.com/ARMmbed/mbed-os/issues/5239
2017-10-06 14:12:48 +01:00
Martin Kojtal 1f5bc8eacc examples: remove eddystone ble examples
They are not part of the releases
2017-10-06 14:12:48 +01:00
Jimmy Brisson d5893d1ef4 Check for flag passing in toolchain constructor 2017-10-06 14:12:46 +01:00
Sarah Marsh 47f02e7972 Use only one flag for test configuration file
Tools will figure out if user passed in a custom path (to indicate configration file for module) or whether they used a keyword (to indicate they'd like to use an mbed OS configuration)
2017-10-06 14:12:45 +01:00
Sarah Marsh d7e380e4db Allow tools to use networkinterface configs in tests 2017-10-06 14:12:45 +01:00
Jimmy Brisson 371212a4b9 Test the module_add function 2017-09-22 15:15:07 +01:00
Jimmy Brisson 01475cf4c2 Test GCC memap parser 2017-09-22 15:15:07 +01:00
Jimmy Brisson 2b8f993612 Test memap parsing for ARMC6 and IAR 2017-09-22 15:15:07 +01:00
Jimmy Brisson dacf0f4f28 Mock supported_toolchains values in tests 2017-09-19 11:36:38 +01:00
Shrikant Tudavekar fec2346627 add ARMC6 in supported compiler 2017-09-12 15:31:50 -05:00
Jimmy Brisson 9d0e8abb11 Rename and simplify config test target names 2017-09-05 15:21:08 -05:00
Jimmy Brisson 399b6acfb1 Clean up json
Wipe out all blank lines in json:
  find tools/test -name 'test_data.json' | xargs sed -i -e '/^$/d'
Move all start braces back a space:
  find tools/test -name 'test_data.json' | xargs sed -i -e "s/^ {/{/"
2017-09-05 14:39:48 -05:00
Jimmy Brisson 4a937fe15e Linting and correcting comments 2017-09-05 13:30:16 -05:00
Jimmy Brisson a2bcae0b7a Rework test_api testing and fix a bug
Bug was found by the new tests
2017-08-28 15:40:35 -05:00
Jimmy Brisson 817eb5ab05 Unify configuration testing and the travis command 2017-08-28 15:10:50 -05:00
Jimmy Brisson de9f9dd3a2 Convert memap tests to pytest style 2017-08-28 13:52:28 -05:00
Jimmy Brisson 177fb7933d Rework config_test to use py.test 2017-08-28 12:27:09 -05:00
Marcelo Salazar 7053ef9412 memap enhancements with depth level configurable
Removed heap/stack from report
Add --stats-depth option to mbed compile
Fix minor issues identified in review
Fix bug when parsing armcc libs
Fix code style
Fix minor issues on existing tests
Fix memap for automated TESTS
Fix stats-depth parameter for tests
2017-08-06 10:30:04 +01:00
Jimmy Brisson ca0c2a8d92 Correct supported check in exporter tests 2017-08-01 09:52:57 -05:00
Jimmy Brisson 18b1cb6c11 Merge pull request #4531 from adbridge/update
Update branching option to branch from another branch.
2017-06-29 11:05:17 -05:00
Andrew Leech 4491d2e3f7 Prevent modifying existing targets.
A warning will be printed if it is attempted.
2017-06-21 22:17:58 +10:00
Andrew Leech 6bd55a16fe Add basic unit tests for custom_targets.json handling 2017-06-21 22:17:57 +10:00
adbridge d1f3eb6ba6 Added template file for PR commit message plus minor review changes 2017-06-21 11:50:14 +01:00
adbridge b4ac0d048d Remove remaining use of args.tag and replace with tag obtained from
config file
2017-06-13 17:31:10 +01:00
adbridge 108250d24a Update branching option to branch from another branch.
Previously if updating a branch in the ARMmbed version of an example
repo, the branch would be created initially from master. This update
allows the new branch to be created by any pre-existing branch.
This update also moves the branch / fork / tag configuration data to the
json config file. It thus simplifies the command line.
-b on its own now indicates use the branch information in the config
-f on its own now indicates use the fork information in the config
2017-06-12 17:57:01 +01:00
Brian Daniels fd4cd43043 Enable verbose builds when running example build tests 2017-06-12 11:25:01 -05:00
Martin Kojtal 13334105e4 Merge pull request #4448 from sg-/add-cell-example
Add mbed-os-example-cellular to release data
2017-06-10 08:29:18 +01:00
Sam Grove 0013b4afa5 Add mbed-os-eample-cellular to release data 2017-06-09 15:18:04 +01:00
Jimmy Brisson ad5608c9e6 Fix a typo in test code
I goofed on spelling (swapped two letters). Whoops.
2017-06-05 15:46:42 -05:00
Jimmy Brisson d8caee9077 Disallow building of mbed OS 2 + rtos 2017-06-01 13:16:03 -05:00
Sam Grove 704ffd7010 Merge pull request #4331 from theotherjimmy/depend-on-profile
Have objects depend on their respective compiler invocations
2017-05-26 17:06:23 -05:00
Brian Daniels 3966139cd7 Allowing examples to specify which repo source to use for testing.
They can pick from either the mbed developer site or the GitHub
repository.
2017-05-24 11:10:49 -05:00
Jimmy Brisson 7b04a52a46 Mock the function I just added in testing 2017-05-19 16:30:49 -05:00
Jimmy Brisson 2821fd548f Mock config in toolchain tests 2017-05-12 14:04:08 -05:00
Jimmy Brisson 7f0ed3b40b Merge pull request #4136 from theotherjimmy/bootlader-exists
Error when bootloader is specified but does not exist
2017-05-02 11:34:30 -05:00
Jimmy Brisson 0b5b6cba71 Merge pull request #4093 from adbridge/update
Update.py: New feature - update a branch instead of a fork, plus general improvements.
2017-04-24 11:01:20 -05:00
Martin Kojtal ea53150d35 test - add nanostack to examples.json file 2017-04-21 13:10:45 +01:00