1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/tests
Philipp Jungkamp 043ff81eb5 Fix SampleFlags HAS_ALL and NEW_FRAME
SampleFlags::HAS_ALL was not including the NEW_* style flags.
The NEW_SIMULATION flag is now independent from the NEW_FRAME flag,
since the dependency made checking that flag unnecessarily difficult.

Checking a composite flag like this

 if ((smp->flags & SampleFlags::NEW_SIMULATION) == SampleFlags::NEW_SIMULATION);

is more verbose than checking a simple flag like

 if (smp->flags & SampleFlags::NEW_SIMULATION);

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
..
benchmarks Make project REUSE compliant 2023-09-07 11:16:04 +02:00
integration Move SPDX header to top of README file 2023-09-07 11:16:04 +02:00
unit Fix SampleFlags HAS_ALL and NEW_FRAME 2023-09-19 19:07:22 +02:00
CMakeLists.txt Make project REUSE compliant 2023-09-07 11:16:04 +02:00
valgrind.supp tests: fix valgrind warnings 2017-07-02 23:57:03 +02:00