[rtems-central commit] spec: Simplify partition performance test

Sebastian Huber sebh at rtems.org
Tue Sep 26 07:31:13 UTC 2023


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Sep 26 08:18:59 2023 +0200

spec: Simplify partition performance test

Do not depend on <rtems/chain.h>.

---

 spec/rtems/part/val/perf.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/spec/rtems/part/val/perf.yml b/spec/rtems/part/val/perf.yml
index 4758304a..6bac1584 100644
--- a/spec/rtems/part/val/perf.yml
+++ b/spec/rtems/part/val/perf.yml
@@ -43,7 +43,6 @@ test-context-support: null
 test-description: null
 test-includes:
 - rtems.h
-- rtems/chain.h
 test-local-includes: []
 test-prepare: null
 test-setup:
@@ -55,7 +54,7 @@ test-setup:
     void             *area;
     uintptr_t         length;
 
-    size = sizeof( rtems_chain_node );
+    size = 2 * sizeof( uintptr_t );
 
     area = T_malloc( size );
     sc = rtems_partition_create(



More information about the vc mailing list