Changed test suite version to 1.2

Added simple test to check C strings conversions
pull/478/head
Przemek Wirkus 2014-09-02 17:34:08 +01:00
parent d71a7579b4
commit 39e75c042f
3 changed files with 12 additions and 1 deletions

View File

@ -24,4 +24,7 @@ void notify_performance_coefficient(const char* measurement_name, const double v
// Test functionality useful during testing
unsigned int testenv_randseed();
// Macros, unit test like to provide basic comparisons
#define TESTENV_STRCMP(GIVEN,EXPECTED) (strcmp(GIVEN,EXPECTED) == 0)
#endif

View File

@ -88,7 +88,7 @@ def get_version():
""" Returns test script version
"""
single_test_version_major = 1
single_test_version_minor = 1
single_test_version_minor = 2
return (single_test_version_major, single_test_version_minor)

View File

@ -510,6 +510,14 @@ TESTS = [
"source_dir": join(TEST_DIR, "mbed", "pin_toggling"),
"dependencies": [MBED_LIBRARIES],
},
{
"id": "MBED_33", "description": "C string operations",
"source_dir": join(TEST_DIR, "mbed", "cstring"),
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
"duration": 10,
"automated": True,
},
# CMSIS RTOS tests
{