Rajkumar Kanagaraj
d634236eae
CMake: Create mbed-greentea library
2020-12-16 12:06:11 -08:00
Qinghao Shi
48d78c6374
GreenTea: Fix inconsistenet Greentea KV message
2020-07-08 09:24:55 +01:00
Martin Kojtal
dd209da675
Revert "Fix kv parsing bug in greentea client."
...
This reverts commit c70baa9289
.
Reason for revert: needs to be reviewed again, will be sent via new PR
2020-07-03 10:02:51 +01:00
Dustin Crossman
c70baa9289
Fix kv parsing bug in greentea client.
...
Mbed greentea sends all KV pairs in the following format:
"{{key,value}}\n"
Previously the greentea client code was not reading the final '\n' from
the UART as part of the HandleKV() call. This did not cause an
error when multiple KV pairs were being parsed because any whitespace
proceeding a message was ignored. Once the final KV pair was sent,
however, HandleKV() would only read up to the "}}" leaving the final
'\n' in the UART buffer.
2020-07-01 10:38:49 -07:00
jeromecoutant
2df428b36d
MBED_STACK_STATS_ENABLED : Add stack_name information in greentea metrics
2020-02-18 18:00:40 +01:00
Hugues Kamba
dbaeeaf758
Replace RawSerial instances as it has been deprecated
2020-01-06 15:48:49 +00:00
RAJKUMAR KANAGARAJ
3fc8905315
Fixed the greentea test dependency and incorporated the review comments
...
-Added the mbedtls,crypto,psa,filesystem,fat,littlefs in baremetal.json to resolve compiler issue
-Disable metrics that are not available for bare metal
-Moved the baremetal.json inside TESTS/configs directory
2019-11-05 08:49:27 -08:00
RAJKUMAR KANAGARAJ
f402dbb2da
Bare metal greentea support
...
-Added the baremetal.json on Tests directory to enable bare-metal
-Conditional enable of greentea metrics
Note:
Run green tea with bare metal
mbed test -m target -t GCC_ARM -n tests-mbed_platform-transaction --app-config TESTS/baremetal.json
2019-11-05 08:49:27 -08:00
jeromecoutant
0d678e9299
GREENTEA: init trace if trace is enabled in json
2019-10-16 11:47:07 +02:00
int_szyk
4c13c469d9
Can compile without serial
2019-07-22 16:17:52 +02:00
Cruz Monrreal
b5bb1c1211
Update features/frameworks/greentea-client/source/greentea_test_env.cpp
...
Co-Authored-By: orenc17 <oren.cohen@arm.com>
2019-02-27 21:38:16 +02:00
Oren Cohen
78ec812f3a
Add define to skip greentea sync
2019-02-25 14:16:45 +02:00
Cruz Monrreal
b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
...
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Brian Daniels
1a9df4269b
Correct example given in greentea-client readme
2019-01-28 16:35:34 -06:00
Brian Daniels
b694a34873
Remove reference to yotta and mbed-drivers in greentea-client
2019-01-28 16:35:20 -06:00
Amanda Butler
36438a1d70
Remove outdated content from README.md
...
Remove requested outdated content, and update TOC to reflect changes.
2019-01-25 09:57:19 -06:00
Amanda Butler
8b35bbc5b5
Remove .json blob from README.md
...
Make change suggested in comments.
2019-01-24 15:54:02 -06:00
Brian Daniels
99d6145cf3
Update features/frameworks/greentea-client/README.md
...
Co-Authored-By: AnotherButler <Amanda.Butler@arm.com>
2019-01-24 15:53:01 -06:00
Amanda Butler
39851e4c18
Remove yotta from README.md
...
Remove all references to yotta.md
2019-01-24 15:25:30 -06:00
Jimmy Brisson
e201fdb6e9
Add placeholder libraries for things we probably refer to as libraries
2019-01-16 14:58:58 -06:00
Deepika
9db31d299b
Resolve build issues in test
...
mbed.h was added in test, via greentea and utest header files. 'mbed.h' is removed
from header files and required header file and namespace is added to CPP/C files
2018-10-16 11:50:16 -05:00
deepikabhavnani
e95d08e471
Greentea: Add required header file and namespace element instead add all
...
1. RTOS is needed only for Stack stats
Move+Add all required header files for RTOS into MBED_STACK_STATS_ENABLED
define. Also added 'using namespace'
2. Add heap stats only when MBED_HEAP_STATS_ENABLED
2018-10-15 10:57:24 -05:00
Deepika
1fe633799d
Framework: Add required header file and namespace element instead add all
2018-10-15 10:57:21 -05:00
Kevin Bracey
1ef213ec89
Clean up Thread deprecation warnings
...
Static Thread methods and signal methods have been deprecated. Remove
all references in the main code, and most of the tests. Some tests of
the deprecated APIs themselves remain.
2018-10-12 14:57:13 +03:00
Cruz Monrreal
bf2da4859c
Merge pull request #7761 from aashishc1988/master
...
ifndef some macros to allow overriding during compilation
2018-08-27 10:27:49 -05:00
Aashish chaddha
1cdef09698
ifndef some macros to allow overriding during compilation or be able to get some warnings during redefinition
2018-08-08 15:23:19 -05:00
David Saada
cfe7df28c9
When stack stats enabled, prevent exceptions if memory allocations fail
2018-08-08 16:18:29 +03:00
jeromecoutant
35c9ddc356
Add CPU stats for greentea tests
2018-06-28 10:54:58 +02:00
Qinghao Shi
d48d3aff2b
fix a bug in greentea-client
...
reset "LastChar" after "tok_close" received
fix the bug where greentea-client require a character input between K-V pairs
2018-05-14 11:41:14 +01:00
Marcus Chang
595a98b313
Enable flow control in Greentea
...
Flow control is enabled in Greentea for targets that has
console-uart-flow-control set.
2018-04-17 14:16:31 -07:00
Jimmy Brisson
1ffbdfc048
Merge pull request #4364 from mazimkhan/mbed-tls-test
...
Add C API for Greentea client
2017-06-19 11:58:47 -05:00
Jimmy Brisson
a6695ae5a8
Merge pull request #4504 from geky/gt-add-reserved-memory-reporting
...
greentea: Add reporting of reserved heap
2017-06-19 11:03:30 -05:00
Azim Khan
0b929199e4
Remove multiple definition of GREENTEA_SETUP added due to rebase
2017-06-13 10:02:55 +01:00
Azim Khan
b3cbb07566
Merge greentea-client/test_env_c.h into greentea-client/test_env.h
2017-06-12 13:46:22 +01:00
Azim Khan
82d948de6b
Revert greentea_getc() to return 'int'
2017-06-12 13:46:22 +01:00
Azim Khan
088d151507
Use existing functions for Greentea client C API
2017-06-12 13:46:22 +01:00
Azim Khan
0edf082c59
Add getc in C API
2017-06-12 13:23:20 +01:00
Mohammad Azim Khan
bd5820f77c
C API for greentea client
2017-06-12 13:23:20 +01:00
Brian Daniels
00a41add12
Fixing typos in docs
2017-06-10 15:14:28 +01:00
Brian Daniels
f616bf28f6
Adding comments for added Greentea function
2017-06-10 15:14:28 +01:00
Brian Daniels
6e76fce4fc
Specifying default length of UUID for Greentea
...
This creates a macro for the UUID length used by Greentea. This cuts
down on the use of "magic numbers" in test cases that use
the GREENTEA_SETUP_UUID function.
2017-06-10 15:14:28 +01:00
Brian Daniels
551ff03dc0
Adding ability to preserve Greentea UUID in test.
...
The Greentea UUID can be used as a source of entropy/randomness during
the test. This is useful for uniquely identifying a test run.
2017-06-10 15:14:28 +01:00
Christopher Haster
40957c14b3
Added reporting of reserved heap
...
Note: Reporting of reserved stack is already performed by the thread
layer
2017-06-09 10:57:08 +01:00
Russ Butler
2d7cf60278
Fix warning about unused mutex
...
Move the metrics mutex into the ifdef MBED_STACK_STATS_ENABLED since
it is not used ouside of it. This fixes the warning:
[Warning] greentea_metrics.cpp@37,28: 'mutex' defined but not used [-Wunused-variable]
2017-06-05 18:06:08 -05:00
Bartek Szatkowski
b793a3fb89
Update codebase for CMSIS5/RTX5
...
Update all of mbed-os to use RTX5.
2017-05-30 18:55:52 +01:00
Brian Daniels
8a29f54ae4
Renaming test_env.cpp in greentea to avoid warning
2017-01-17 17:27:41 -06:00
Martin Kojtal
ab2e869a24
Merge pull request #3157 from SiliconLabs/SiliconLabs-EFR32
...
[Silicon Labs] Adding support for EFR32MG1 wireless SoC
2016-12-02 15:46:35 +01:00
Mizuho
56d71a429e
added static specifer in green_metrics.cpp
2016-11-19 08:17:05 +09:00
Steven Cooreman
3cfdf8f302
Make GreenTea respect STDIO baud rate
2016-11-07 11:57:02 +01:00
Brian Daniels
7a8946ff24
Replacing getchar with RawSerial getc in greentea-client.
...
This change prevents the standard library from allocating a large buffer
on the heap. On GCC_ARM, this is a saving of 1K. On ARM, this is a saving
of 64 bytes.
2016-10-26 16:55:54 -05:00