Releases: ARMmbed/greentea-client
Releases · ARMmbed/greentea-client
Add new event __testcase_name
Changes:
- Add new key "__testcase_name", see #15
- Add new API event
GREENTEA_TEST_ENV_TESTCASE_NAMEwith value of__testcase_name
Strip yotta and add RAWSerial support for printing
Version with stripped yotta dependencies
Changes:
- Replace yotta macros with mbed macros
- Replace macros with:
YOTTA_CFG_DEBUG_OPTIONS_COVERAGE->MBED_CFG_DEBUG_OPTIONS_COVERAGEYOTTA_GREENTEA_CLIENT_VERSION_STRING->MBED_GREENTEA_CLIENT_VERSION_STRING
- Define in test_env.h version macro:
MBED_GREENTEA_CLIENT_VERSION_STRINGto"1.1.0"
- Set
MBED_GREENTEA_CLIENT_VERSION_STRINGtoYOTTA_GREENTEA_CLIENT_VERSION_STRINGin yotta environment.
Readme updates
Changes:
READMEupdates and polishing.- Released module v1.1.0 to yotta registry.
$ yt up
$ yt build
info: generate for target: frdm-k64f-gcc 2.0.0 at c:\Work\greentea-client\yotta_targets\frdm-k64f-gcc
GCC version is: 4.9.3
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Work/greentea-client/build/frdm-k64f-gcc
[33/149] Building CXX object ym/mbed-drivers/source/CMakeFiles/mbed-drivers.dir/c_/Work/greentea-client/yotta_modules/mbed-drivers/source/test_env.cpp.o
In file included from c:/Work/greentea-client/yotta_modules/mbed-drivers/source/test_env.cpp:17:0:
c:/Work/greentea-client/yotta_modules/mbed-drivers/mbed-drivers/test_env.h:20:2: warning: #warning mbed-drivers/test_env.h is deprecated. Please use greentea-client/test_env.h instead. [-Wcpp]
#warning mbed-drivers/test_env.h is deprecated. Please use greentea-client/test_env.h instead.
^
[68/149] Building C object ym/core-util/source/CMakeFiles/core-util.dir/c_/Work/greentea-client/yotta_modules/core-util/source/critical.c.o
c:/Work/greentea-client/yotta_modules/core-util/source/critical.c: In function 'core_util_critical_section_exit':
c:/Work/greentea-client/yotta_modules/core-util/source/critical.c:65:18: warning: unused variable 'primask' [-Wunused-variable]
uint32_t primask = __get_PRIMASK(); // get the current interrupt enabled state
^
[146/149] Building CXX object ym/utest/source/CMakeFiles/utest.dir/c_/Work/greentea-client/yotta_modules/utest/source/default_handlers.cpp.o
c:/Work/greentea-client/yotta_modules/utest/source/default_handlers.cpp:38:13: warning: 'void selftest_failure_handler(utest::v1::failure_t)' defined but not used [-Wunused-function]
static void selftest_failure_handler(const failure_t failure) {
^
[146/149] Building CXX object ym/utest/source/CMakeFiles/utest.dir/c_/Work/greentea-client/yotta_modules/utest/source/greentea_handlers.cpp.o
c:/Work/greentea-client/yotta_modules/utest/source/greentea_handlers.cpp:76:13: warning: 'void greentea_test_failure_handler(utest::v1::failure_t)' defined but not used [-Wunused-function]
static void greentea_test_failure_handler(const failure_t failure) {
^
[149/149] Linking CXX static library ym/unity/source/unity.
$ yt publish
info: generate archive extracting to "greentea-client-1.1.0"
info: published latest version: 1.1.0
First official releae v1.0.0
Changes:
- Update documentation.
- Add
coverage.jsonfile for code coverage instrumentation withgreentea. - Released to yotta registry greentea-client/1.0.0.
$ yt ls
greentea-client 1.0.0
\_ utest 1.10.1 (test dependency)
|_ minar 1.1.0 yotta_modules\minar
| \_ minar-platform 1.0.0 yotta_modules\minar-platform
| |_ minar-platform-mbed 1.1.4 yotta_modules\minar-platform-mbed
| | \_ mbed-hal 1.2.2 yotta_modules\mbed-hal
| | |_ mbed-drivers 1.3.0 yotta_modules\mbed-drivers
| | | \_ ualloc 1.1.1 yotta_modules\ualloc
| | | \_ dlmalloc 1.0.0 yotta_modules\dlmalloc
| | \_ mbed-hal-freescale 1.0.0 yotta_modules\mbed-hal-freescale
| | \_ mbed-hal-ksdk-mcu 1.1.0 yotta_modules\mbed-hal-ksdk-mcu
| | |_ uvisor-lib 2.0.0 yotta_modules\uvisor-lib
| | \_ mbed-hal-k64f 1.2.0 yotta_modules\mbed-hal-k64f
| | \_ mbed-hal-frdm-k64f 1.0.2 yotta_modules\mbed-hal-frdm-k64f
| \_ cmsis-core 1.1.2 yotta_modules\cmsis-core
| \_ cmsis-core-freescale 1.0.0 yotta_modules\cmsis-core-freescale
| \_ cmsis-core-k64f 1.0.0 yotta_modules\cmsis-core-k64f
|_ core-util 1.6.1 yotta_modules\core-util
\_ compiler-polyfill 1.2.1 yotta_modules\compiler-polyfill
$ yotta target frdm-k64f-gcc
$ yotta build
error: greentea-client does not meet specification ~0.1.4 required by mbed-drivers
error: greentea-client does not meet specification ~0.1.4 required by mbed-drivers
info: generate for target: frdm-k64f-gcc 2.0.0 at c:\Work\greentea-client\yotta_targets\frdm-k64f-gcc
...
GCC version is: 4.9.3
-- The ASM compiler identification is GNU
-- Found assembler: C:/Work/toolchains/gcc_arm_4_9_2015/bin/arm-none-eabi-gcc.exe
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Work/greentea-client/build/frdm-k64f-gcc
[31/148] Building CXX object ym/mbed-drivers/source/CMakeFiles/mbed-drivers.dir/C_/Work/greentea-client/yotta_modules/mbed-drivers/source/test_env.cpp.o
In file included from C:/Work/greentea-client/yotta_modules/mbed-drivers/source/test_env.cpp:17:0:
c:/Work/greentea-client/yotta_modules/mbed-drivers/mbed-drivers/test_env.h:20:2: warning: #warning mbed-drivers/test_env.h is deprecated. Please use greentea-client/test_env.h instead. [-Wcpp]
#warning mbed-drivers/test_env.h is deprecated. Please use greentea-client/test_env.h instead.
^
[69/148] Building C object ym/core-util/source/CMakeFiles/core-util.dir/C_/Work/greentea-client/yotta_modules/core-util/source/critical.c.o
C:/Work/greentea-client/yotta_modules/core-util/source/critical.c: In function 'core_util_critical_section_exit':
C:/Work/greentea-client/yotta_modules/core-util/source/critical.c:65:18: warning: unused variable 'primask' [-Wunused-variable]
uint32_t primask = __get_PRIMASK(); // get the current interrupt enabled state
^
[147/148] Building CXX object ym/utest/source/CMakeFiles/utest.dir/C_/Work/greentea-client/yotta_modules/utest/source/greentea_handlers.cpp.o
C:/Work/greentea-client/yotta_modules/utest/source/greentea_handlers.cpp:76:13: warning: 'void greentea_test_failure_handler(utest::v1::failure_t)' defined but not used [-Wunused-function] static void greentea_test_failure_handler(const failure_t failure) {
^
[147/148] Building CXX object ym/utest/source/CMakeFiles/utest.dir/C_/Work/greentea-client/yotta_modules/utest/source/default_handlers.cpp.o
C:/Work/greentea-client/yotta_modules/utest/source/default_handlers.cpp:38:13: warning: 'void selftest_failure_handler(utest::v1::failure_t)' defined but not used [-Wunused-function]
static void selftest_failure_handler(const failure_t failure) {
^
[148/148] Linking CXX static library ym/utest/source/utest.a
$ yt publish
info: generate archive extracting to "greentea-client-1.0.0"
info: published latest version: 1.0.0
Add __version event in preamble
Changes:
- Add
__versionevent in preamble. - Supported by Greentea v0.2.3.
- * Released to yotta registry.
Bug-fix: v0.1.6 breaks existing tests, see #3
Changes:
- Bug-fix: v0.1.6 breaks existing tests, see #3
- Released to yotta registry.
Separate mbed-drivers test_env from greentea-client test_env
Changes:
- Refactoring, add
greentea_*notation to functions. - Fix: warning: '
coverage_report' initialized and declared 'extern'. - Published to yotta registry v0.1.6.
mbedOS release Q1 2016 preparation
Changes:
- Add dependency to
utest v1.10.0 - Add code coverage support.
- Published to yotta registry v0.1.5.
New test case reporting functions
Changes:
- Add
GREENTEA_TESTCASE_FINISHandGREENTEA_TESTCASE_FINISHfunctions. - Add repository entry to
module.json.
yotta registry greentea-client/0.1.4