diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-22 10:56:58 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-22 16:05:18 +0100 |
commit | 91f30fdd44b84390cf7e8ae1fe7fb48b98b0ddde (patch) | |
tree | f1b98dc720b6ed00f5758f8b3d095c5400933b83 | |
parent | spec: Remove duplicate constraints (diff) | |
download | rtems-central-91f30fdd44b84390cf7e8ae1fe7fb48b98b0ddde.tar.bz2 |
spec: Fix validation links
-rw-r--r-- | spec/acfg/val/acfg.yml | 38 | ||||
-rw-r--r-- | spec/acfg/val/default.yml | 2 | ||||
-rw-r--r-- | spec/acfg/val/one-cpu.yml | 2 | ||||
-rw-r--r-- | spec/rtems/intr/val/intr-smp-only.yml | 22 |
4 files changed, 36 insertions, 28 deletions
diff --git a/spec/acfg/val/acfg.yml b/spec/acfg/val/acfg.yml index e669a922..43e9f5a9 100644 --- a/spec/acfg/val/acfg.yml +++ b/spec/acfg/val/acfg.yml @@ -90,7 +90,7 @@ test-actions: - role: validation uid: ../if/max-barriers - role: validation - uid: /rtems/config/if/get-maximum-barriers + uid: /rtems/config/req/get-maximum-barriers - brief: | Check the configured ${/acfg/if/max-user-extensions:/name} value. code: | @@ -102,7 +102,7 @@ test-actions: - role: validation uid: ../if/max-user-extensions - role: validation - uid: /rtems/config/if/get-maximum-extensions + uid: /rtems/config/req/get-maximum-extensions - brief: | Check the configured ${/acfg/if/max-message-queues:/name} value. code: | @@ -114,7 +114,7 @@ test-actions: - role: validation uid: ../if/max-message-queues - role: validation - uid: /rtems/config/if/get-maximum-message-queues + uid: /rtems/config/req/get-maximum-message-queues - brief: | Check the configured ${/acfg/if/max-partitions:/name} value. code: | @@ -126,7 +126,7 @@ test-actions: - role: validation uid: ../if/max-partitions - role: validation - uid: /rtems/config/if/get-maximum-partitions + uid: /rtems/config/req/get-maximum-partitions - brief: | Check the configured ${/acfg/if/max-periods:/name} value. code: | @@ -138,7 +138,7 @@ test-actions: - role: validation uid: ../if/max-periods - role: validation - uid: /rtems/config/if/get-maximum-periods + uid: /rtems/config/req/get-maximum-periods - brief: | Check the configured ${/acfg/if/max-processors:/name} value. code: | @@ -154,7 +154,7 @@ test-actions: - role: validation uid: ../if/max-processors - role: validation - uid: /rtems/config/if/get-maximum-processors + uid: /rtems/config/req/get-maximum-processors - brief: | Check the configured ${/acfg/if/max-semaphores:/name} value. code: | @@ -166,7 +166,7 @@ test-actions: - role: validation uid: ../if/max-semaphores - role: validation - uid: /rtems/config/if/get-maximum-semaphores + uid: /rtems/config/req/get-maximum-semaphores - brief: | Check the configured ${/acfg/if/max-tasks:/name} value. code: | @@ -178,7 +178,7 @@ test-actions: - role: validation uid: ../if/max-tasks - role: validation - uid: /rtems/config/if/get-maximum-tasks + uid: /rtems/config/req/get-maximum-tasks - brief: | Check the configured ${/acfg/if/max-timers:/name} value. code: | @@ -190,7 +190,7 @@ test-actions: - role: validation uid: ../if/max-timers - role: validation - uid: /rtems/config/if/get-maximum-timers + uid: /rtems/config/req/get-maximum-timers - brief: | Check the configured ${/acfg/if/microseconds-per-tick:/name} value in microseconds. @@ -203,7 +203,7 @@ test-actions: - role: validation uid: ../if/microseconds-per-tick - role: validation - uid: /rtems/config/if/get-microseconds-per-tick + uid: /rtems/config/req/get-microseconds-per-tick - brief: | Check the configured ${/acfg/if/microseconds-per-tick:/name} value in milliseconds. @@ -216,7 +216,7 @@ test-actions: - role: validation uid: ../if/microseconds-per-tick - role: validation - uid: /rtems/config/if/get-milliseconds-per-tick + uid: /rtems/config/req/get-milliseconds-per-tick - brief: | Check the configured ${/acfg/if/microseconds-per-tick:/name} value in nanoseconds. @@ -229,7 +229,7 @@ test-actions: - role: validation uid: ../if/microseconds-per-tick - role: validation - uid: /rtems/config/if/get-nanoseconds-per-tick + uid: /rtems/config/req/get-nanoseconds-per-tick - brief: | Check the configured ${/acfg/if/task-stack-allocator:/name} hook. Using the test stack allocator validates also @@ -254,7 +254,7 @@ test-actions: - role: validation uid: ../if/min-task-stack-size - role: validation - uid: /rtems/config/if/get-stack-allocate-hook + uid: /rtems/config/req/get-stack-allocate-hook - brief: | Check the configured ${/acfg/if/task-stack-no-workspace:/name} value. code: | @@ -263,7 +263,7 @@ test-actions: - role: validation uid: ../if/task-stack-no-workspace - role: validation - uid: /rtems/config/if/get-stack-allocator-avoids-work-space + uid: /rtems/config/req/get-stack-allocator-avoids-work-space - brief: | Check the configured ${/acfg/if/task-stack-deallocator:/name} hook. code: | @@ -275,7 +275,7 @@ test-actions: - role: validation uid: ../if/task-stack-deallocator - role: validation - uid: /rtems/config/if/get-stack-free-hook + uid: /rtems/config/req/get-stack-free-hook - brief: | Check the configured ${/acfg/if/task-stack-allocator-for-idle:/name} hook. code: | @@ -287,7 +287,7 @@ test-actions: - role: validation uid: ../if/task-stack-allocator-for-idle - role: validation - uid: /rtems/config/if/get-stack-allocate-for-idle-hook + uid: /rtems/config/req/get-stack-allocate-for-idle-hook - brief: | Check the configured ${/acfg/if/idle-task-stack-size:/name} value. code: | @@ -299,7 +299,7 @@ test-actions: - role: validation uid: ../if/idle-task-stack-size - role: validation - uid: /rtems/config/if/get-idle-task-stack-size + uid: /rtems/config/req/get-idle-task-stack-size - brief: | Check the configured ${/acfg/if/interrupt-stack-size:/name} value. code: | @@ -311,7 +311,7 @@ test-actions: - role: validation uid: ../if/interrupt-stack-size - role: validation - uid: /rtems/config/if/get-interrupt-stack-size + uid: /rtems/config/req/get-interrupt-stack-size - brief: | Check the configured ${/acfg/if/ticks-per-time-slice:/name} value. code: | @@ -323,7 +323,7 @@ test-actions: - role: validation uid: ../if/ticks-per-time-slice - role: validation - uid: /rtems/config/if/get-ticks-per-timeslice + uid: /rtems/config/req/get-ticks-per-timeslice links: [] test-brief: | Tests the effect of application configuration options. diff --git a/spec/acfg/val/default.yml b/spec/acfg/val/default.yml index 64148b05..3edc00bb 100644 --- a/spec/acfg/val/default.yml +++ b/spec/acfg/val/default.yml @@ -18,7 +18,7 @@ test-actions: - role: validation uid: ../if/idle-task-body - role: validation - uid: /rtems/config/if/get-idle-task + uid: /rtems/config/req/get-idle-task - brief: | Check the default value ${/acfg/if/idle-task-stack-size:/name} where the optional BSP-provided default value is enabled. diff --git a/spec/acfg/val/one-cpu.yml b/spec/acfg/val/one-cpu.yml index 5533244e..2e7fe03a 100644 --- a/spec/acfg/val/one-cpu.yml +++ b/spec/acfg/val/one-cpu.yml @@ -23,7 +23,7 @@ test-actions: - role: validation uid: ../if/scheduler-priority - role: validation - uid: /rtems/task/if/maximum-priority + uid: /rtems/task/req/maximum-priority - brief: | Check the configured ${/acfg/if/max-priority:/name} value using ${/rtems/task/if/maximum-priority}. This configuration option affects diff --git a/spec/rtems/intr/val/intr-smp-only.yml b/spec/rtems/intr/val/intr-smp-only.yml index c32b9277..219d1e8a 100644 --- a/spec/rtems/intr/val/intr-smp-only.yml +++ b/spec/rtems/intr/val/intr-smp-only.yml @@ -31,17 +31,13 @@ test-actions: uid: ../req/lock-reference-target - role: validation uid: ../req/lock-reference-type - - role: validation - uid: ../if/lock-declare - - role: validation - uid: ../if/lock-define - brief: | Check that the lock is available after initialization. code: | T_true( ISRLockIsAvailable( &lock.member ) ); links: - role: validation - uid: ../if/lock-initializer + uid: ../req/lock-initializer - brief: | Check that maskable interrupts are disabled before the call to ${../if/lock-isr-disable:/name} and disabled afterwards. @@ -105,7 +101,7 @@ test-actions: T_true( ISRLockIsAvailable( &lock.member ) ); links: - role: validation - uid: ../if/lock-initialize + uid: ../req/lock-initialize - brief: | Check that maskable interrupts are disabled before the call to ${../if/lock-acquire:/name} and disabled afterwards. Check that the lock @@ -149,7 +145,19 @@ test-actions: links: - role: validation uid: ../req/lock-destroy - links: [] + links: + - role: validation + uid: ../req/lock-declare-identifier + - role: validation + uid: ../req/lock-declare-specifier + - role: validation + uid: ../req/lock-define-identifier + - role: validation + uid: ../req/lock-define-specifier + - role: validation + uid: ../req/lock-member-identifier + - role: validation + uid: ../req/lock-member-type test-brief: | Tests some ${../if/group:/name} directives. test-context: [] |