summaryrefslogtreecommitdiffstats
path: root/spec/rtems/intr
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-08-17 17:32:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-08-17 17:55:18 +0200
commit2085243b4d063ee571313d53b1fd6c0de9dd5816 (patch)
tree7b367a5e81e8e3007e997c36f9c5c900897538bd /spec/rtems/intr
parentspec: Move TQ get owner to base context (diff)
downloadrtems-central-2085243b4d063ee571313d53b1fd6c0de9dd5816.tar.bz2
validation: Add ${.:/test-context-type}
Add and use ${.:/test-context-type} and ${.:/test-context-instance} substitutions.
Diffstat (limited to 'spec/rtems/intr')
-rw-r--r--spec/rtems/intr/req/clear.yml2
-rw-r--r--spec/rtems/intr/req/entry-install.yml2
-rw-r--r--spec/rtems/intr/req/entry-remove.yml2
-rw-r--r--spec/rtems/intr/req/get-affinity.yml2
-rw-r--r--spec/rtems/intr/req/handler-iterate.yml2
-rw-r--r--spec/rtems/intr/req/is-pending.yml2
-rw-r--r--spec/rtems/intr/req/raise-on.yml2
-rw-r--r--spec/rtems/intr/req/raise.yml2
-rw-r--r--spec/rtems/intr/req/set-affinity.yml2
-rw-r--r--spec/rtems/intr/req/vector-disable.yml2
-rw-r--r--spec/rtems/intr/req/vector-enable.yml2
-rw-r--r--spec/rtems/intr/req/vector-is-enabled.yml2
12 files changed, 12 insertions, 12 deletions
diff --git a/spec/rtems/intr/req/clear.yml b/spec/rtems/intr/req/clear.yml
index 065f3522..e05ffb6f 100644
--- a/spec/rtems/intr/req/clear.yml
+++ b/spec/rtems/intr/req/clear.yml
@@ -161,7 +161,7 @@ test-prepare: null
test-setup: null
test-stop: null
test-support: |
- typedef RtemsIntrReqClear_Context Context;
+ typedef ${.:/test-context-type} Context;
static bool IsEnabled( const Context *ctx )
{
diff --git a/spec/rtems/intr/req/entry-install.yml b/spec/rtems/intr/req/entry-install.yml
index 39ceb5cc..810a8c0b 100644
--- a/spec/rtems/intr/req/entry-install.yml
+++ b/spec/rtems/intr/req/entry-install.yml
@@ -539,7 +539,7 @@ test-setup:
description: null
test-stop: null
test-support: |
- typedef RtemsIntrReqEntryInstall_Context Context;
+ typedef ${.:/test-context-type} Context;
static char entry_arg;
diff --git a/spec/rtems/intr/req/entry-remove.yml b/spec/rtems/intr/req/entry-remove.yml
index c3abfe5e..24c3769b 100644
--- a/spec/rtems/intr/req/entry-remove.yml
+++ b/spec/rtems/intr/req/entry-remove.yml
@@ -551,7 +551,7 @@ test-setup:
description: null
test-stop: null
test-support: |
- typedef RtemsIntrReqEntryRemove_Context Context;
+ typedef ${.:/test-context-type} Context;
static char entry_arg;
diff --git a/spec/rtems/intr/req/get-affinity.yml b/spec/rtems/intr/req/get-affinity.yml
index fe0bd4d8..bef498ea 100644
--- a/spec/rtems/intr/req/get-affinity.yml
+++ b/spec/rtems/intr/req/get-affinity.yml
@@ -280,7 +280,7 @@ test-setup:
description: null
test-stop: null
test-support: |
- typedef RtemsIntrReqGetAffinity_Context Context;
+ typedef ${.:/test-context-type} Context;
static void CheckGetAffinity(
Context *ctx,
diff --git a/spec/rtems/intr/req/handler-iterate.yml b/spec/rtems/intr/req/handler-iterate.yml
index af21155d..d10a3c24 100644
--- a/spec/rtems/intr/req/handler-iterate.yml
+++ b/spec/rtems/intr/req/handler-iterate.yml
@@ -218,7 +218,7 @@ test-setup:
description: null
test-stop: null
test-support: |
- typedef RtemsIntrReqHandlerIterate_Context Context;
+ typedef ${.:/test-context-type} Context;
static char entry_arg;
diff --git a/spec/rtems/intr/req/is-pending.yml b/spec/rtems/intr/req/is-pending.yml
index 7f4b8870..f7cd555e 100644
--- a/spec/rtems/intr/req/is-pending.yml
+++ b/spec/rtems/intr/req/is-pending.yml
@@ -201,7 +201,7 @@ test-prepare: null
test-setup: null
test-stop: null
test-support: |
- typedef RtemsIntrReqIsPending_Context Context;
+ typedef ${.:/test-context-type} Context;
static bool IsEnabled( const Context *ctx )
{
diff --git a/spec/rtems/intr/req/raise-on.yml b/spec/rtems/intr/req/raise-on.yml
index d4ebed1e..795d5e0f 100644
--- a/spec/rtems/intr/req/raise-on.yml
+++ b/spec/rtems/intr/req/raise-on.yml
@@ -221,7 +221,7 @@ test-setup:
description: null
test-stop: null
test-support: |
- typedef RtemsIntrReqRaiseOn_Context Context;
+ typedef ${.:/test-context-type} Context;
static bool IsEnabled( const Context *ctx )
{
diff --git a/spec/rtems/intr/req/raise.yml b/spec/rtems/intr/req/raise.yml
index f3540f16..871a414e 100644
--- a/spec/rtems/intr/req/raise.yml
+++ b/spec/rtems/intr/req/raise.yml
@@ -160,7 +160,7 @@ test-prepare: null
test-setup: null
test-stop: null
test-support: |
- typedef RtemsIntrReqRaise_Context Context;
+ typedef ${.:/test-context-type} Context;
static bool IsEnabled( const Context *ctx )
{
diff --git a/spec/rtems/intr/req/set-affinity.yml b/spec/rtems/intr/req/set-affinity.yml
index 6bf26487..926fb9b6 100644
--- a/spec/rtems/intr/req/set-affinity.yml
+++ b/spec/rtems/intr/req/set-affinity.yml
@@ -261,7 +261,7 @@ test-setup:
description: null
test-stop: null
test-support: |
- typedef RtemsIntrReqSetAffinity_Context Context;
+ typedef ${.:/test-context-type} Context;
static void CheckSetAffinity(
Context *ctx,
diff --git a/spec/rtems/intr/req/vector-disable.yml b/spec/rtems/intr/req/vector-disable.yml
index 187cef07..46b654b4 100644
--- a/spec/rtems/intr/req/vector-disable.yml
+++ b/spec/rtems/intr/req/vector-disable.yml
@@ -206,7 +206,7 @@ test-prepare: null
test-setup: null
test-stop: null
test-support: |
- typedef RtemsIntrReqVectorDisable_Context Context;
+ typedef ${.:/test-context-type} Context;
static bool IsEnabled( const Context *ctx )
{
diff --git a/spec/rtems/intr/req/vector-enable.yml b/spec/rtems/intr/req/vector-enable.yml
index 95cd7404..a9f270ea 100644
--- a/spec/rtems/intr/req/vector-enable.yml
+++ b/spec/rtems/intr/req/vector-enable.yml
@@ -206,7 +206,7 @@ test-prepare: null
test-setup: null
test-stop: null
test-support: |
- typedef RtemsIntrReqVectorEnable_Context Context;
+ typedef ${.:/test-context-type} Context;
static bool IsEnabled( const Context *ctx )
{
diff --git a/spec/rtems/intr/req/vector-is-enabled.yml b/spec/rtems/intr/req/vector-is-enabled.yml
index b162dd42..346f9cff 100644
--- a/spec/rtems/intr/req/vector-is-enabled.yml
+++ b/spec/rtems/intr/req/vector-is-enabled.yml
@@ -208,7 +208,7 @@ test-prepare: null
test-setup: null
test-stop: null
test-support: |
- typedef RtemsIntrReqVectorIsEnabled_Context Context;
+ typedef ${.:/test-context-type} Context;
static void CheckIsEnabled( Context *ctx, bool expected )
{