Commit Graph

92 Commits (d6a48218eecdb92ea036cefeabc6818af2a2dcd7)

Author SHA1 Message Date
Alexander Zilberkant 91505184d3 Integrate with mbeb-cli build system
PSA code generation will be called automatically upon mbed invocation.
The autogenerated files will be created under <mbed-os-root>/PSA_AUTOGEN directory.
2019-04-30 14:41:09 +03:00
Brian Daniels 6d754fe96c Remove database code from singletest api 2019-04-08 10:58:45 -05:00
Oren Cohen 39e5ccf3e2 Remove _NS & _PSA from test_spec.json 2019-03-06 13:13:56 +02:00
Jimmy Brisson eaa4ee4179 Correct usage of get_config 2019-01-16 11:20:55 -06:00
Brian Daniels 27bcaa47d5 Fixing execution of OS2 tests 2018-12-14 09:58:09 -06:00
Oren Cohen dd73fa689c PSA SPM
* Intorduce PSA-SPM to mbed-os
* Add SPM tests (for PSA targets)
* Add PSA PRoT internal storage Secure implementation
* Integrate SPM into the boot proccess
* PSA manifest data generator
* Introduce PSA targets skeleton to mbed-os
* Add artifact delivery to the tools
2018-11-27 09:16:35 +02:00
Cruz Monrreal 48c149b227
Merge pull request #7720 from jeromecoutant/PR_PRETTYTABLE
python scripts : table print with github policy
2018-09-06 22:29:30 -05:00
Olli-Pekka Puolitaival 4e38f73067 Fix after rebase 2018-08-31 11:56:52 +03:00
Olli-Pekka Puolitaival bf1781b005 Remove autoformatting 2018-08-31 11:52:30 +03:00
Olli-Pekka Puolitaival 3b3bed2406 Small fixes based on github comments 2018-08-31 11:52:30 +03:00
Olli-Pekka Puolitaival e27a26eb9d Icetea support 2018-08-31 11:51:57 +03:00
Jimmy Brisson e695a34f23 Add mbedignore behavior to test finding 2018-08-27 11:20:08 -05:00
Jimmy Brisson 88a5b263f0 Add tests from labeled directories 2018-08-27 11:12:02 -05:00
Olli-Pekka Puolitaival 1fbced1b46 Fix target_name variable in some use cases 2018-08-15 12:28:48 +03:00
jeromecoutant a42c73df1b python scripts : table print with github policy 2018-08-07 15:14:27 +02:00
Jimmy Brisson 8be6a03a4b Correct test_api usage of build_project 2018-07-25 11:29:59 -05:00
Jimmy Brisson 545553b6bc Rewrite test detection to avoid relying on "inc_dirs" 2018-07-16 14:11:08 -05:00
Jimmy Brisson 1f6862b41f Remove needless None-passing
It's now the default
2018-07-16 14:11:08 -05:00
Jimmy Brisson 361fc65f08 Allow missing toolchain parameter to get_config 2018-07-16 14:11:08 -05:00
Jimmy Brisson 4c7cf21feb Require notifier in resources 2018-07-16 14:10:21 -05:00
Jimmy Brisson 7c42302854 Update test builder to use new resources 2018-07-16 14:10:21 -05:00
Jimmy Brisson 930a6119d7 Skip target lookup in test builds.
This should allow custom targets to be transferred to each process
when building in parallel
2018-07-09 09:44:55 -05:00
Cruz Monrreal 7dc4848265
Merge pull request #7124 from theotherjimmy/term-notify-singletest
Tool: Use TerminalNotifier in singletest
2018-06-07 10:09:26 -05:00
Cruz Monrreal 4fcaa56b77
Merge pull request #6914 from 0xc0170/fix_build_notifier
build: fix notifier typo and passing to builds API
2018-06-05 10:59:47 -05:00
Jimmy Brisson 8d03fe2de4 Use TerminalNotifier in singletest 2018-06-05 09:31:20 -05:00
jeromecoutant 109524d83d NOT_SUPPORTED error was not supported any more in test_api.py script 2018-05-17 11:58:13 +02:00
Martin Kojtal 9fd52e7beb test: remove verbose from buil libs calls
it was removed recently, not used anymore
2018-05-16 16:19:03 +01:00
Cruz Monrreal 83d7444331
Merge pull request #6886 from cmonr/additional-py3-fixes
Corrected iteritems py2/3 compatability in test_api.py
2018-05-15 10:08:28 -05:00
Cruz Monrreal II daa0f9bc35 Corrected iteritems py2/3 compatability in test_api.py 2018-05-11 13:17:48 -05:00
Andrew Leech badd753466 mbed test: add argument `--ignore` to allow passing in extra mbedignore args
In particular this allows ignoring a project main.cpp file when running unit tests
2018-05-09 10:02:02 +10:00
Cruz Monrreal 53d3c4344f
Merge pull request #6781 from theotherjimmy/refactor-notify
tools: Refactor notification API
2018-05-07 10:48:48 -05:00
Jimmy Brisson c186c3ce86 Use mocked notifier for individual tests
That way we separate the collection of notifications from everything else
2018-05-03 10:06:47 -05:00
Jimmy Brisson 0f7e900417 Pass app config to get config
This corrects a bug which would manifest as --app-config not having
much of an affect on test builds (not the first libary bulid)
2018-05-02 09:38:44 -05:00
Jimmy Brisson dc006d6aa3 Remove silent from test invocation
apparently I forgot earlier
2018-04-30 14:44:02 -05:00
Jimmy Brisson de91c93108 Use new notifier API in test infra 2018-04-26 09:32:43 -05:00
Cruz Monrreal II b286838ebf Updated python tools to be cimpliant with PEP 3113 2018-04-10 13:37:47 -05:00
Jimmy Brisson 1dd39fbe80 Python2+3: mbed test --compile 2018-02-05 11:07:37 -06:00
Jimmy Brisson cca4425af6 Python2+3: iteritems -> items 2018-02-05 11:04:36 -06:00
Jimmy Brisson 45bdd98a85 Python2+3: tests import correctly 2018-02-05 11:04:36 -06:00
Christopher Haster d82d9888d4 Added COMMON folder for tests
A COMMON folder allows code reuse across different test cases. This
avoids code duplication or code enterying the application space.

The COMMON folder is uppercase to match naming conventions in Mbed OS.
2018-01-09 16:11:14 -06:00
Jenny Plunkett b3e8dec8ea Updated get_test_config function returns comment 2017-11-13 15:01:11 -06: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
Sarah Marsh 6a44ceb094 Add copyright headers and use mbed error to skip tests without network config files 2017-09-20 18:31:06 -05:00
Sarah Marsh 4161e5c48d Move test config keys out of targets.json
Change TestConfig class methods to module methods
2017-09-20 18:30:08 -05:00
Sarah Marsh ba6eb98b5c 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-09-20 18:29:37 -05:00
Sarah Marsh e982eed4ad Add option to add a configuration file for modules 2017-09-20 18:27:59 -05:00
Sarah Marsh 8c0bc781d9 Allow tools to use networkinterface configs in tests 2017-09-20 18:27:59 -05:00
David Walters e4b55dd6a0 Removed get_mounted_details_txt from test_api.py
Fixed minor typos in test_api.py
Added get_interface_version to detect_targets
2017-09-15 10:15:24 +01:00
David Walters d43a847667 Added additional DAPLink version info for `mbed detect` command` 2017-09-11 16:54:32 +01:00
Jimmy Brisson 5bcd97a2bc Merge pull request #4984 from theotherjimmy/unify-unit-tests
Unify mbed OS tools testing style with what's used in mbed-ls, htrun, greentea
2017-09-06 14:26:14 -05:00