jeromecoutant
6c57c9fd67
mbed test with dual core targets
...
For Dual Core targets, there are in fact 2 sub-targets, CM4 and CM7 targets.
This allows to execute tests with boards detected by mbedls.
2020-03-24 09:53:36 +01:00
Anna Bridge
48f90c06df
Merge pull request #11904 from jamesbeyond/HW_gcov
...
TOOLS: enable build greentea test coverage for HW
2020-01-21 11:46:51 +00:00
Graham Hammond
d2b968142d
Updates to *.py in 'tools/' for Python 3
2019-11-21 16:06:59 +00:00
Qinghao Shi
44825560ca
TOOLS: enable build greentea test with gcov options
2019-11-20 10:07:12 +00:00
Martin Kojtal
1dac871523
Merge pull request #11457 from OPpuolitaival/py_params
...
tools: add silent option to build
2019-10-21 09:19:12 +02:00
ccli8
82f60d913e
Remove 'PSA' check from test spec conversion
...
This is unnecessary because all TZ targets must follow the naming rule: PLATFORM_[NPSA_]S/NS
2019-09-16 23:25:44 +08:00
Chun-Chieh Li
ad5e94a9c6
Convert TZ target name 'NPSA' to test spec platform name
...
1. All TZ targets should have name pattern: PLATFORM_[PSA_/NPSA_]S/NS, where:
(1) 'PLATFORM' for test spec platform name
(2) 'PSA/NPSA' for PSA/non-PSA targets. Defaults to PSA target on absent.
(3) 'S'/'NS' for secure/non-secure targets
2. Secure target may participate in Greentea, so its name is also truncated here.
2019-09-16 11:59:13 +08:00
Chun-Chieh Li
a489a7313b
Convert TZ target name to test spec platform name
...
1. All TZ targets should have name pattern: PLATFORM_[PSA_]S/NS, where:
(1) 'PLATFORM' for test spec platform name
(2) 'PSA' is optional to distinguish PSA/non-PSA targets, especially when
both PSA/non-PSA targets are supported
(3) 'S'/'NS' for secure/non-secure targets
2. Secure target may participate in Greentea, so its name is also truncated here.
2019-09-12 11:29:26 +08:00
Olli-Pekka Puolitaival
daddc7dcb8
Remove not used code lines
2019-09-11 14:06:35 +03:00
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