summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-17 14:40:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-23 09:27:47 +0200
commite3e3b871ee7f625bb65de0836490db73badce55e (patch)
tree44b220baf82cd92974181f0a9875f79db39588a9 /testsuites
parentlibtest: Move <t.h> to <rtems/test.h> (diff)
downloadrtems-e3e3b871ee7f625bb65de0836490db73badce55e.tar.bz2
libtest: Add T_busy()
Update #3199.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/spintrcritical_support/intrcritical.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/sptests/spintrcritical_support/intrcritical.c b/testsuites/sptests/spintrcritical_support/intrcritical.c
index 51ab42f5d6..9bce230d2a 100644
--- a/testsuites/sptests/spintrcritical_support/intrcritical.c
+++ b/testsuites/sptests/spintrcritical_support/intrcritical.c
@@ -13,6 +13,7 @@
#include <tmacros.h>
#include <intrcritical.h>
+#include <rtems/test.h>
#define INTERRUPT_CRITICAL_NAME rtems_build_name( 'I', 'C', 'R', 'I' )
@@ -49,7 +50,7 @@ static bool interrupt_critical_busy_wait( void )
interrupt_critical.maximum_current = max - 1;
}
- rtems_test_busy( max );
+ T_busy( max );
return reset;
}