diff --git a/TESTS/mbed_drivers/watchdog/main.cpp b/TESTS/mbed_drivers/watchdog/main.cpp index 07502f3d77..9e73d346a0 100644 --- a/TESTS/mbed_drivers/watchdog/main.cpp +++ b/TESTS/mbed_drivers/watchdog/main.cpp @@ -14,11 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -#if !defined(MBED_CONF_RTOS_PRESENT) -#error [NOT_SUPPORTED] Watchdog test cases require a RTOS to run. -#else - #if !DEVICE_WATCHDOG #error [NOT_SUPPORTED] Watchdog not supported for this target #else @@ -275,4 +270,3 @@ int main() } #endif // !DEVICE_WATCHDOG -#endif // !defined(MBED_CONG_RTOS_PRESENT) diff --git a/TESTS/mbed_drivers/watchdog_reset/main.cpp b/TESTS/mbed_drivers/watchdog_reset/main.cpp index e633e6d0b3..5ce319adfb 100644 --- a/TESTS/mbed_drivers/watchdog_reset/main.cpp +++ b/TESTS/mbed_drivers/watchdog_reset/main.cpp @@ -14,10 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#if !defined(MBED_CONF_RTOS_PRESENT) -#error [NOT_SUPPORTED] Watchdog reset test cases require a RTOS to run. -#else - #if !DEVICE_WATCHDOG #error [NOT_SUPPORTED] Watchdog not supported for this target #else @@ -342,4 +338,3 @@ int main() return !Harness::run(specification); } #endif // !DEVICE_WATCHDOG -#endif // !defined(MBED_CONF_RTOS_PRESENT) diff --git a/TESTS/mbed_hal/watchdog/main.cpp b/TESTS/mbed_hal/watchdog/main.cpp index 8504da581c..e77d38edd3 100644 --- a/TESTS/mbed_hal/watchdog/main.cpp +++ b/TESTS/mbed_hal/watchdog/main.cpp @@ -14,10 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#if !defined(MBED_CONF_RTOS_PRESENT) -#error [NOT_SUPPORTED] Watchdog test cases require a RTOS to run. -#else - #if !DEVICE_WATCHDOG #error [NOT_SUPPORTED] Watchdog not supported for this target #else @@ -274,5 +270,4 @@ int main() return !Harness::run(specification); } -#endif // !DEVICE_WATCHDOG -#endif // !defined(MBED_CONF_RTOS_PRESENT) +#endif // !DEVICE_WATCHDOG \ No newline at end of file diff --git a/TESTS/mbed_hal/watchdog_reset/main.cpp b/TESTS/mbed_hal/watchdog_reset/main.cpp index 8d1c28e30a..a909474e49 100644 --- a/TESTS/mbed_hal/watchdog_reset/main.cpp +++ b/TESTS/mbed_hal/watchdog_reset/main.cpp @@ -14,10 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#if !MBED_CONF_RTOS_PRESENT -#error [NOT_SUPPORTED] Watchdog reset test cases require a RTOS to run. -#else - #if !DEVICE_WATCHDOG #error [NOT_SUPPORTED] Watchdog not supported for this target #else @@ -329,4 +325,3 @@ int main() } #endif // !DEVICE_WATCHDOG -#endif // !MBED_CONF_RTOS_PRESENT