diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-26 15:19:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-26 15:19:53 +0200 |
commit | ffd083cbb6a84846451a483f4e7620c3b163414f (patch) | |
tree | e91d8c89ea2ff98450a63b30bfeb39560ada7b8c | |
parent | spec: Specify support directives (diff) | |
download | rtems-central-ffd083cbb6a84846451a483f4e7620c3b163414f.tar.bz2 |
spec: Improve validation test
Cover also bsp_interrupt_handler_dispatch_unchecked().
-rw-r--r-- | spec/bsp/req/interrupt-spurious.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/bsp/req/interrupt-spurious.yml b/spec/bsp/req/interrupt-spurious.yml index fbd7d3ee..b3e7cf99 100644 --- a/spec/bsp/req/interrupt-spurious.yml +++ b/spec/bsp/req/interrupt-spurious.yml @@ -72,7 +72,11 @@ test-action: | ctx->fatal_code = UINT32_MAX; if ( setjmp( ctx->before_call ) == 0 ) { - bsp_interrupt_spurious( ctx->vector ); + if ( *ctx->first == NULL ) { + bsp_interrupt_handler_dispatch_unchecked( ctx->vector ); + } else { + bsp_interrupt_spurious( ctx->vector ); + } } test-brief: null test-cleanup: null |