summaryrefslogtreecommitdiffstats
path: root/spec/build/testsuites/libtests/regulator01.yml
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2023-07-05 15:28:54 -0500
committerJoel Sherrill <joel@rtems.org>2023-08-11 13:44:47 -0500
commitfd693085ea1fcfe41fedb877eac35875cad4aa08 (patch)
treeb5d4b04e53807892c108912c343e7dd7b531838e /spec/build/testsuites/libtests/regulator01.yml
parentbuild: Make tar archives reproducible (diff)
downloadrtems-fd693085ea1fcfe41fedb877eac35875cad4aa08.tar.bz2
Add the Regulator Interface and test
Updates #4924. The Regulator is an application support class which is used to deal with the scenario where there is a bursty input source which needs to be metered out to a destination sink. The maximum size of bursts needs to be known and the delivery method must be configured to deliver messages at a rate that allows the traffic to not overflow.
Diffstat (limited to '')
-rw-r--r--spec/build/testsuites/libtests/regulator01.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/build/testsuites/libtests/regulator01.yml b/spec/build/testsuites/libtests/regulator01.yml
new file mode 100644
index 0000000000..776d0ae34b
--- /dev/null
+++ b/spec/build/testsuites/libtests/regulator01.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: test-program
+cflags: []
+copyrights:
+- Copyright (C) 2023 OAR Corporation
+cppflags: []
+cxxflags: []
+enabled-by: true
+features: c cprogram
+includes: []
+ldflags:
+- -Wl,--wrap=malloc
+links: []
+source:
+- testsuites/libtests/regulator01/regulator01.c
+- testsuites/libtests/regulator01/rtems_config.c
+stlib: []
+target: testsuites/libtests/regulator01.exe
+type: build
+use-after: []
+use-before: []