diff options
author | Joel Sherrill <joel@rtems.org> | 2023-07-05 15:28:54 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2023-08-11 13:44:47 -0500 |
commit | fd693085ea1fcfe41fedb877eac35875cad4aa08 (patch) | |
tree | b5d4b04e53807892c108912c343e7dd7b531838e /spec/build/testsuites | |
parent | build: Make tar archives reproducible (diff) | |
download | rtems-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 'spec/build/testsuites')
-rw-r--r-- | spec/build/testsuites/libtests/grp.yml | 2 | ||||
-rw-r--r-- | spec/build/testsuites/libtests/regulator01.yml | 21 |
2 files changed, 23 insertions, 0 deletions
diff --git a/spec/build/testsuites/libtests/grp.yml b/spec/build/testsuites/libtests/grp.yml index addcb286ad..c1a6209e99 100644 --- a/spec/build/testsuites/libtests/grp.yml +++ b/spec/build/testsuites/libtests/grp.yml @@ -229,6 +229,8 @@ links: - role: build-dependency uid: record02 - role: build-dependency + uid: regulator01 +- role: build-dependency uid: rtmonuse - role: build-dependency uid: setjmp 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: [] |