diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-06 14:03:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-26 07:54:25 +0200 |
commit | 4969af41028ff7861753efe451826c2c42fc45b2 (patch) | |
tree | 5a8b0187b4d4a77ae59830b8114adb1376aadb7b /testsuites | |
parent | rtems: Add rtems_interrupt_is_pending() (diff) | |
download | rtems-4969af41028ff7861753efe451826c2c42fc45b2.tar.bz2 |
rtems: Add RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPT
Add RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPT as the fatal source for
spurious interrupts. Use the interrupt vector number of the spurious
interrupt for the fatal code.
Update #3269.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/sptests/spinternalerror02/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/spinternalerror02/init.c b/testsuites/sptests/spinternalerror02/init.c index 1564061956..30f09de6cc 100644 --- a/testsuites/sptests/spinternalerror02/init.c +++ b/testsuites/sptests/spinternalerror02/init.c @@ -53,7 +53,7 @@ static void test_fatal_source_text(void) puts( text ); } while ( text != text_last ); - rtems_test_assert( source - 3 == RTEMS_FATAL_SOURCE_HEAP ); + rtems_test_assert( source - 3 == RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPT ); } static void test_status_text(void) |