Commit Graph

179 Commits (beb6d7802a2ba5639f89738354e86b7a54db5104)

Author SHA1 Message Date
Cruz Monrreal II 85ce95d0ff Modified error formatting to remove unicode character.
jsonschema's error.message returns either u' or ' in strings depending on the python version.
2018-04-10 15:19:34 -05:00
Cruz Monrreal cb99c280a6
Actually disabled exporters for lorawan example 2018-03-13 12:15:35 -05:00
Cruz Monrreal 1dfe716b56
Disabled exporters for lorawan example 2018-03-13 12:13:55 -05:00
Cruz Monrreal II 0ab2216803 Add lorawan and nvstore examples for testing. 2018-03-12 18:45:16 -05:00
Christopher Haster 24bb556127 tools: Removed outdated (and broken) toolchain initialization test
Also moved the access of build_dir into condition on secure in ARMC6

per theotherjimmy
2018-02-27 09:39:00 -06:00
Christopher Haster 5a108166f0 tools: Fixed small unicode issue in config tests 2018-02-26 17:08:02 -06:00
Cruz Monrreal e9fddb6eee
Merge pull request #6017 from theotherjimmy/bl-nonzero-rom
Correct auto-sizing last region of bl
2018-02-07 15:56:43 -06:00
Jimmy Brisson c52d1edd3e Test for region list sanity (sizes all >= 0) 2018-02-05 13:58:37 -06:00
Jimmy Brisson 95c7d4d47c Compare to unicode in example builder 2018-02-05 11:07:37 -06:00
Jimmy Brisson 4322bee175 Python2+3: tests passing 2018-02-05 11:04:36 -06:00
Jimmy Brisson cca4425af6 Python2+3: iteritems -> items 2018-02-05 11:04:36 -06:00
Steven Cartmell b1ea3881be Fix test errors produced by JSON schema after rebase
- Modified the expected error code in some of the test cases. The error
  message is now issued by the JSON validator.

- Stop validation code being called if no application configuration is
  given to validate.

- Change test mock code to check for specific calls, instead of number of
  calls.

- Derive absolute paths for JSON schema files before loading them, which
  seems to work better with the URI path resolution of the schema parser.
2018-02-01 17:18:41 +00:00
Jimmy Brisson c9add5c489 Check that boot loader config works in libs 2018-01-31 10:04:34 -06:00
Jimmy Brisson d94776f909 Assert that reduce depth works and parameterize over path sep 2018-01-02 14:36:10 -06:00
Jimmy Brisson 3db03a77d5 Test gcc memap parser with compiler provided .o's 2018-01-02 14:35:17 -06:00
Jimmy Brisson bfd39bdccb Test memap IAR for multiple arguments per line 2018-01-02 14:34:10 -06:00
Jimmy Brisson 527c0a2554 Rework parsing dispatch
Parsing dispatch now uses a metaclass as a Trait and a series of classes
that implement the trait for dispatching parsing. This structure gives
each parser it's own namespace, avoiding tacking on suffixes to each
attribute indicating which parser uses it.
2018-01-02 13:11:38 -06:00
adbridge 533657fa9c Add mbed-os-example-filesystem to examples list 2017-12-21 17:09:49 +00:00
David Walters faec0c3ce5 Fixed call to deprecated get_details_txt 2017-12-15 15:31:36 +00:00
Martin Kojtal d6d9afc7f2
Merge pull request #5499 from adbridge/master
Remove mbed-cloud-client-example-internal.
2017-11-16 16:11:39 +00:00
adbridge c0164d6c75 Remove mbed-cloud-client-example-internal. 2017-11-14 11:56:00 +00:00
Shrikant Tudavekar ccd82c24c8 Collect build artifacts disable cleanup
In preparation to exporter tests
2017-10-31 17:34:06 -05:00
Jimmy Brisson acb384c88a
Merge pull request #5332 from adbridge/master
Improve domain handling and status checking of updated examples.
2017-10-30 10:08:42 -05:00
Anna Bridge c7e51daf41 Combine string constants passed to 'join' function 2017-10-24 15:08:41 +01:00
Jimmy Brisson 3a2f58ebc8 Test the supported check in the ARM toolchains
They fail right now, Cores are not checked
2017-10-20 10:05:17 -05:00
adbridge bb579dcfaf 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-10-17 18:18:21 +01:00
Jimmy Brisson 299af9742d Merge pull request #5247 from kegilbert/example-build-profile-arg
Add profile argument to mbed-os example build tools
2017-10-13 09:24:04 -05:00
Jimmy Brisson 5c8ef54e2f Merge pull request #5224 from adbridge/master
Fix branch updates and make Linux compatible
2017-10-13 09:22:59 -05:00
Jimmy Brisson 0fd13b5288 Merge pull request #5240 from studavekar/retry-on-clone-failure
Add retry to handle git clone failure
2017-10-05 11:15:41 -05:00
Jimmy Brisson 23d201cb21 Merge pull request #5237 from 0xc0170/fix_examples_eddy
examples: remove eddystone ble examples
2017-10-05 11:15:14 -05:00
Jimmy Brisson da78647c1d Merge pull request #5077 from dhwalters423/dhwalters423-add-detect-info
Added interface version information to mbed detect command.
2017-10-05 11:11:33 -05:00
Kevin Gilbert f8fa90209e Remove -p as an argument flag for profile 2017-10-03 16:14:07 -05:00
Kevin Gilbert 310f833f52 Add profile argument to mbed-os example build tools to allow non-default build profiles to be passed in 2017-10-03 15:24:29 -05:00
Shrikant Tudavekar cdd29b87a5 Add retry to handle git clone failure
more info on https://github.com/ARMmbed/mbed-os/issues/5239
2017-10-02 14:39:24 -05:00
Martin Kojtal e6b1ef508e examples: remove eddystone ble examples
They are not part of the releases
2017-10-02 15:37:52 +01:00
adbridge 31407a17ca 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-09-29 16:17:33 +01:00
David Walters 61f46b809d Changed type => test_type 2017-09-29 15:34:32 +01:00
David Walters bb79f6991b Minor copy edits, added comment 2017-09-29 10:12:02 +01:00
David Walters a047f6276d Increased test coverage / mocking of external modules 2017-09-29 10:05:05 +01:00
adbridge d2d2b68fc5 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-09-27 17:59:19 +01:00
Jimmy Brisson ef6de7eb3b Check for flag passing in toolchain constructor 2017-09-26 08:58:59 -05:00
David Walters 4c2d17eee0 Removing unused imports/update copywright` 2017-09-25 16:58:52 +01:00
David Walters b887bb7de6 Added safety check, added test converage for new function 2017-09-25 16:53:41 +01:00
Jimmy Brisson 4de448142b Merge pull request #5125 from theotherjimmy/improve-memap-performance
Refactor memap for speed
2017-09-21 11:40:41 -05:00
Jimmy Brisson 3d5bea337f Test the module_add function 2017-09-20 10:49:12 -05:00
Jimmy Brisson 06203c4fcc Test GCC memap parser 2017-09-20 10:39:42 -05:00
Jimmy Brisson bcd89dae18 Test memap parsing for ARMC6 and IAR 2017-09-19 15:14:43 -05:00
Jimmy Brisson faa3375397 Mock supported_toolchains values in tests 2017-09-15 17:59:46 -05: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