File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 32
32
"mbed-hal" : " ^1.0.0" ,
33
33
"minar" : " *"
34
34
},
35
+ "testDependencies" : {
36
+ "greentea-client" : " ~0.1.4"
37
+ },
35
38
"keywords" : [
36
39
" mbed" ,
37
40
" mbed-official"
Original file line number Diff line number Diff line change 14
14
* See the License for the specific language governing permissions and
15
15
* limitations under the License.
16
16
*/
17
- #include " mbed/test_env.h"
17
+ #include " mbed-drivers/mbed.h"
18
+ #include " greentea-client/test_env.h"
18
19
#include " us_ticker_api.h"
19
20
#include " minar-platform/minar_platform.h"
20
21
@@ -32,10 +33,7 @@ static tick_t sleep_until(tick_t ticks)
32
33
33
34
void app_start (int , char *[])
34
35
{
35
- MBED_HOSTTEST_TIMEOUT (10 );
36
- MBED_HOSTTEST_SELECT (default );
37
- MBED_HOSTTEST_DESCRIPTION (minar mbed platform);
38
- MBED_HOSTTEST_START (" minar mbed platform" );
36
+ GREENTEA_SETUP (10 , " default_auto" );
39
37
40
38
const char *current_test = " none" ;
41
39
bool tests_pass = false ;
@@ -125,5 +123,5 @@ void app_start(int, char*[])
125
123
printf (" First failing test: %s \r\n " , current_test);
126
124
}
127
125
128
- MBED_HOSTTEST_RESULT (tests_pass);
126
+ GREENTEA_TESTSUITE_RESULT (tests_pass);
129
127
}
You can’t perform that action at this time.
0 commit comments