From 644041626d3e83917309dae6a45e5696013eda63 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Sat, 15 Jun 2024 08:52:54 -0500 Subject: [PATCH] testsuites: Update lock init validation test This test was broken by b031cf2b19ef4be3a865d818e8d609011b04a3df since it expects the macros to evaluate to an empty string for non-SMP builds. This updates the check for the new content. --- testsuites/validation/tc-intr-non-smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/validation/tc-intr-non-smp.c b/testsuites/validation/tc-intr-non-smp.c index ce34571298..4476d98562 100644 --- a/testsuites/validation/tc-intr-non-smp.c +++ b/testsuites/validation/tc-intr-non-smp.c @@ -142,7 +142,7 @@ static void RtemsIntrValIntrNonSmp_Action_0( void ) * Check that rtems_interrupt_lock_initialize() expands to white space only. */ s = RTEMS_XSTRING( rtems_interrupt_lock_initialize( x, y ) ); - T_true( IsWhiteSpaceOnly( s ) ); + T_true( IsEqualIgnoreWhiteSpace( s, "(void)y;" ) ); /* * Check that rtems_interrupt_lock_acquire_isr() expands to a code block