[rtems-central commit] spec: Fix sporadic test failure

Sebastian Huber sebh at rtems.org
Thu Oct 28 18:14:04 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    94ed8b1fc471654e076f0d8eb1d1ec8ab2146629
Changeset: http://git.rtems.org/rtems-central/commit/?id=94ed8b1fc471654e076f0d8eb1d1ec8ab2146629

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Oct 27 16:12:35 2021 +0200

spec: Fix sporadic test failure

---

 spec/rtems/intr/req/is-pending.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/spec/rtems/intr/req/is-pending.yml b/spec/rtems/intr/req/is-pending.yml
index f7cd555..01ffcb5 100644
--- a/spec/rtems/intr/req/is-pending.yml
+++ b/spec/rtems/intr/req/is-pending.yml
@@ -278,9 +278,10 @@ test-support: |
     if ( has_installed_entries ) {
       /*
        * We cannot test this vector thoroughly, since it is used by a device
-       * driver.
+       * driver.  It may be pending or not.  For example in SMP configurations,
+       * it may be pending while being serviced right now on another processor.
        */
-      T_false( IsPending( ctx ) );
+      (void) IsPending( ctx );
     } else if ( !attr->is_maskable ) {
       /* We can only safely test maskable interrupts */
       T_false( IsPending( ctx ) );



More information about the vc mailing list