diff --git a/test/rt/configuration.xml b/test/rt/configuration.xml index 261321440..fda3392ee 100644 --- a/test/rt/configuration.xml +++ b/test/rt/configuration.xml @@ -411,6 +411,9 @@ chSysEnable();]]> @@ -3918,7 +3921,7 @@ test_assert(threads[1] != NULL, "thread creation failed");]]> diff --git a/test/rt/source/test/test_sequence_001.c b/test/rt/source/test/test_sequence_001.c index 5f6ec1e5d..fa50d05f3 100644 --- a/test/rt/source/test/test_sequence_001.c +++ b/test/rt/source/test/test_sequence_001.c @@ -252,6 +252,9 @@ static void test_001_004_execute(void) { { systime_t time = chVTGetSystemTimeX(); while (time == chVTGetSystemTimeX()) { +#if defined(SIMULATOR) + _sim_check_for_interrupts(); +#endif } } } diff --git a/test/rt/source/test/test_sequence_011.c b/test/rt/source/test/test_sequence_011.c index 3094a0225..6361b8202 100644 --- a/test/rt/source/test/test_sequence_011.c +++ b/test/rt/source/test/test_sequence_011.c @@ -138,7 +138,7 @@ static void test_011_001_execute(void) { test_set_step(5); { threads[2] = chThdCreateFromHeap(&heap1, - THD_WORKING_AREA_SIZE(THREADS_STACK_SIZE * 16), + THD_WORKING_AREA_SIZE(THREADS_STACK_SIZE * 1024), "dyn3", prio-3, dyn_thread1, "C"); test_assert(threads[2] == NULL, "thread creation not failed");