1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

187 commits

Author SHA1 Message Date
Leonardo Carreras
66756698d0 Supress checkcpp unknownMacro error foor tests in queue unit test
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
2025-02-05 10:47:40 +01:00
Leonardo Carreras
3e62fa9b6f Adapt the queue test to be architecture-agnostic
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
2025-02-05 10:47:40 +01:00
e5ab276566 fix: Formatting
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-11-04 10:30:14 +01:00
Steffen Vogel
1520743f73 fix: Formatting with clang-format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-10-31 12:18:20 +01:00
Steffen Vogel
28d354cb84 Fix formatting with clang-format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-10-15 19:31:49 +02:00
Niklas Eiling
f25e1dd689 log: fix undefined intitialization order of static objects. fixes #799.
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-08-05 14:57:13 +02:00
535d64a644 Replace last tab indentation with spaces
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
4b36073711 Use spaces for indention of CMake files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
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
Steffen Vogel
02a2aa4f94 Apply clang-format changes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-08 11:37:42 +02:00
bbb3cfe240 Remove more Doxygen-style comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-09-07 11:16:04 +02:00
68654f95f2 Add periods after file headers and fix email addresses
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-09-07 11:16:04 +02:00
Steffen Vogel
0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Philipp Jungkamp
0cb4ac79d5 unit-tests: intialize global test params at runtime
Move the intialization of the paramters to runtime by converting the
static array to a vector and filling it when critirion calls the test
setup.

Global variable initialization order across translation units is not
defined.
Referring to e.g. the memory::mmap global variable in the initialization
of the static unit test parameter set may leave an incorrect address in
the struct param.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 11:33:34 +02:00
Steffen Vogel
8464975447 ci: remove libsegfault usage as its gone in newer glibc versions
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-01-11 12:58:53 +01:00
de013aca25 use sched_yield() instead of non-standard pthread_yield()
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:10:02 +01:00
7eec1bb753 update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-16 23:44:07 +01:00
b94746effb relicense VILLASnode to Apache 2.0 2022-07-04 18:23:57 +02:00
11a25f6fb7 update mail address 2022-03-15 09:29:20 -04:00
17ac92aa21 update copyright year 2022-03-15 09:28:57 -04:00
ae1b064b5a remove broken support for Darwin/macOS 2022-03-14 19:37:29 -04:00
784e970bfe port large parts of VILLASnode to C++ and fix tests alongside 2022-01-11 09:19:53 -05:00
069a7611ab memory: do not attempt to reserve hugepages or lock memory in unprivileged environments 2021-09-21 10:15:42 +02:00
2b21e5f7c6 remove dependency on std::filesystem 2021-09-13 19:46:03 +02:00
4d6c746232 fix doxygen @todo commands 2021-08-31 14:40:37 +02:00
00a9e92b0a remove old plugin code 2021-06-21 16:11:42 -04:00
731909c3a8 ported io/format code to C++ 2021-06-17 08:26:46 -04:00
c840ba567b some cleanups and fixes 2021-03-19 06:35:14 -04:00
4f370ee1b2 drop legacy logger 2021-03-17 14:58:45 +00:00
0c8d013f06 fix unit test 2021-02-22 23:22:33 +01:00
937d4f0aae signal_data: only use type not complete signal struct 2021-02-19 07:03:21 +01:00
Felix Wege
f00c225b26 io: removed CHECKED state and fixed sprintf/sscan 2021-01-08 14:49:28 +01:00
c7c513a5f6 ci: fix all remaining cppcheck warnings and errors 2020-09-11 15:15:36 +02:00
a9eb2c1d67 mapping: rewrote using std::regex 2020-09-10 17:41:29 +02:00
6411fc5ca7 warn about unused return values for *_{init,destroy}() functions 2020-09-10 17:41:29 +02:00
3c13f67930 refactor: struct node -> struct vnode 2020-09-10 17:40:36 +02:00
57f570d9b0 list: use new lookup methods 2020-08-25 20:22:19 +02:00
8e259516a3 add more nullptr checks after memory allocations 2020-07-06 14:03:43 +02:00
4d18b0e9df config: enable subsitution of environment variables and resolvement of @include directives 2020-07-06 13:25:12 +02:00
def4880096 cmake: fix test execution 2020-07-01 17:07:17 +02:00
32a4053b72 cmake: fix execution of tests 2020-07-01 17:07:17 +02:00
037bfcb81e fix initialization errors 2020-07-01 17:07:17 +02:00
e21a08e290 tests: fix unit tests 2020-07-01 17:07:16 +02:00
cdf1819def 2020-07-01 17:07:16 +02:00
170c284b24 fix Criterion tests 2020-01-26 18:22:31 +01:00
e53661a62c update copyright year to 2020 2020-01-20 17:17:00 +01:00
c406a153dc memory: add new mmap allocator 2019-10-26 13:35:40 +02:00
995e4b5ec9 memory: use default value for memory type 2019-10-26 13:34:03 +02:00
4a21758081 memory: remove memory_type_lookup() 2019-10-26 13:29:08 +02:00
4350683174 memory: change argument order 2019-10-26 13:07:02 +02:00