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
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