summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-05 06:32:03 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-12 09:36:19 +0100
commit9f3c558bbc7b6a9d71c0830ff1eb93a5cad44346 (patch)
tree72d5787b873dc03d869788201442d14340abf4dd /testsuites/support/include
parentpsxfenv01: Check FE_DIVBYZERO define (diff)
downloadrtems-9f3c558bbc7b6a9d71c0830ff1eb93a5cad44346.tar.bz2
tests: Remove superfluous SMPTESTS define
Update #3818.
Diffstat (limited to 'testsuites/support/include')
-rw-r--r--testsuites/support/include/tmacros.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h
index 60da7647dc..ff016605db 100644
--- a/testsuites/support/include/tmacros.h
+++ b/testsuites/support/include/tmacros.h
@@ -46,15 +46,8 @@ extern "C" {
/*
* Check that that the dispatch disable level is proper for the
* mode/state of the test. Normally it should be 0 when in task space.
- *
- * This test is only valid when in a non-SMP system. In an smp system
- * another cpu may be accessing the core at any point when this core
- * does not have it locked.
*/
-#if defined SMPTEST
- #define check_dispatch_disable_level( _expect )
-#else
- #define check_dispatch_disable_level( _expect ) \
+#define check_dispatch_disable_level( _expect ) \
do { \
if ( (_expect) != -1 \
&& (((!_Thread_Dispatch_is_enabled()) == false && (_expect) != 0) \
@@ -67,7 +60,6 @@ extern "C" {
rtems_test_exit( 1 ); \
} \
} while ( 0 )
-#endif
/*
* Check that that the allocator mutex is not owned by the executing thread.