mirror of https://github.com/ARMmbed/mbed-os.git
Changed test suite version to 1.2
Added simple test to check C strings conversionspull/478/head
parent
d71a7579b4
commit
39e75c042f
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue