mirror of https://github.com/ARMmbed/mbed-os.git
Oops fix tabs
parent
b93af1b95c
commit
42fd5beb2c
|
@ -228,9 +228,9 @@ utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
|
|||
ticker_suspend(get_us_ticker_data());
|
||||
|
||||
#ifdef DEVICE_SEMIHOST
|
||||
// Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and
|
||||
// cause said call to take several milliseconds, leading to a test failure.
|
||||
mbed_interface_disconnect();
|
||||
// Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and
|
||||
// cause said call to take several milliseconds, leading to a test failure.
|
||||
mbed_interface_disconnect();
|
||||
#endif
|
||||
|
||||
us_ticker_init();
|
||||
|
|
|
@ -677,9 +677,9 @@ utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
|
|||
GREENTEA_SETUP(20, "default_auto");
|
||||
|
||||
#ifdef DEVICE_SEMIHOST
|
||||
// Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and
|
||||
// cause said call to take several milliseconds, leading to a test failure.
|
||||
mbed_interface_disconnect();
|
||||
// Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and
|
||||
// cause said call to take several milliseconds, leading to a test failure.
|
||||
mbed_interface_disconnect();
|
||||
#endif
|
||||
|
||||
return greentea_test_setup_handler(number_of_cases);
|
||||
|
|
|
@ -480,9 +480,9 @@ utest::v1::status_t test_setup(const size_t number_of_cases)
|
|||
GREENTEA_SETUP(10, "default_auto");
|
||||
|
||||
#ifdef DEVICE_SEMIHOST
|
||||
// Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and
|
||||
// cause said call to take several milliseconds, leading to a test failure.
|
||||
mbed_interface_disconnect();
|
||||
// Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and
|
||||
// cause said call to take several milliseconds, leading to a test failure.
|
||||
mbed_interface_disconnect();
|
||||
#endif
|
||||
|
||||
return verbose_test_setup_handler(number_of_cases);
|
||||
|
|
|
@ -320,9 +320,9 @@ utest::v1::status_t test_setup(const size_t number_of_cases)
|
|||
GREENTEA_SETUP(5, "default_auto");
|
||||
|
||||
#ifdef DEVICE_SEMIHOST
|
||||
// Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and
|
||||
// cause said call to take several milliseconds, leading to a test failure.
|
||||
mbed_interface_disconnect();
|
||||
// Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and
|
||||
// cause said call to take several milliseconds, leading to a test failure.
|
||||
mbed_interface_disconnect();
|
||||
#endif
|
||||
|
||||
return verbose_test_setup_handler(number_of_cases);
|
||||
|
|
Loading…
Reference in New Issue