From 9f3c558bbc7b6a9d71c0830ff1eb93a5cad44346 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 5 Nov 2019 06:32:03 +0100 Subject: tests: Remove superfluous SMPTESTS define Update #3818. --- testsuites/support/include/tmacros.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'testsuites/support/include') 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. -- cgit v1.2.3