Commit Graph

53 Commits (7794d901f2be0737c02fa30fdae0b9ddf59dadf3)

Author SHA1 Message Date
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
Jimmy Brisson f1a78027d3 Add tags to our code 2016-10-04 15:02:44 -05:00
Vincent Coubard 8070468b58 GREENTEA - Fix warning about unused function in greentea_metrics.cpp.
This change isolate properly functions and variable declared when
MBED_STACK_STATS_ENABLED is on.
2016-09-26 17:32:23 +01:00
Vincent Coubard 0b94aae00b GREENTEA - Fix warning by adding empty line at the end of greentea_serial.cpp. 2016-09-26 16:58:35 +01:00
Vincent Coubard f150f4f5e0 GREENTEA - fix warning by removing unreachable statement. 2016-09-26 16:56:28 +01:00
Vincent Coubard ed4889c79f GREENTEA - Fix a warning due to the absence of an empty line at the end of greentea_serial.h 2016-09-26 16:48:27 +01:00
Bogdan Marinescu 65ffa8cbb7 Merge pull request #2702 from mazimkhan/uvisor-gt-client-integration
Changes in greentea-client for uvisor-tests-standalone integration
2016-09-19 12:47:06 +03:00
Mohammad Azim Khan 7cc3f40b38 Changes in greentea-client for uvisor-tests-standalone integration 2016-09-14 13:36:08 +01:00
Russ Butler 9e4a479794 Add prefix to mark cmsis_os functions as private
Add a leading underscore to give an indication that the new cmsis_os
API functions are not official.
2016-09-13 15:53:17 -05:00