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

463 commits

Author SHA1 Message Date
Jitpanu Maneeratpongsuk
1053d9e722 fix: Remove sleep from socket integration test
Signed-off-by: Jitpanu Maneeratpongsuk <jitpanu.maneeratpongsuk@rwth-aachen.de>
2025-01-30 14:53:40 +01:00
Jitpanu Maneeratpongsuk
ad8199e473 feat: Extended integration test for socket TCP connection
Signed-off-by: Jitpanu Maneeratpongsuk <jitpanu.maneeratpongsuk@rwth-aachen.de>
2025-01-30 14:53: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
61ab82dbb7 Fix missing idle_stop setting in integration tests
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-05-28 19:45:55 -07:00
10eb88e7c8 test_rtt: Disable integration test in CI
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-05-28 19:45:55 -07:00
cad2da3a59 iec61850_sv: Fix IEC 61850-9-2 Sampled Values node and unit test
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-05-28 19:45:55 -07:00
1204b47d29 test_rtt: Fix integration test
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 14:31:58 +02:00
Steffen Vogel
f289fe7879 ci: Another attempt at fixing the tests
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-03-12 12:09:51 +01:00
Steffen Vogel
327f11312a ci: Fix tests in unprivileged environment
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-03-12 12:09:51 +01:00
449e132f27 Remove trailing whitespace
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
535d64a644 Replace last tab indentation with spaces
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
bc24676138 Use spaces for indention of shell scripts
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
1b1643834c Use spaces for indention of .conf files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
4db21c6ec2 Fix shebangs of bash scripts to work under NixOS
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 20:04:36 +01:00
Philipp Jungkamp
f9853f52c7 hook-digest: Add integration test
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
7623af56c7 hook-frame: Add integration test
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
25601efa54 hook-reorder_ts: Add integration test
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02: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
Steffen Vogel
57d5ed8e55 Move SPDX header to top of README file
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +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
b9bad1219d tests: Fix multiplexing test assuming implicit truncate
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-08-25 18:30:27 +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
d0da86ae3f example: add missing files for example 2022-04-01 18:06:28 +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
53d18d4a4e go: fix tests 2022-03-14 19:51:41 -04:00
ae1b064b5a remove broken support for Darwin/macOS 2022-03-14 19:37:29 -04:00
dfcafed20a several fixes for new opal format 2022-02-24 08:02:19 -05:00
d4f74a5a51 add new format-type for OPAL-RT's AsyncIP example 2022-02-24 08:02:19 -05:00
e51cdc1343 disable broken tests 2022-01-11 11:43:05 -05:00
c0fc6f4a10 improve tests 2022-01-11 09:19:54 -05:00
06029a6fa1 tests: continue work on redis integration test 2022-01-11 09:19:54 -05:00
23f994294a tests: fix relay test 2022-01-11 09:19:54 -05:00
7f7ae44acc tests: added integration test for villas-relay 2022-01-11 09:19:54 -05:00
784e970bfe port large parts of VILLASnode to C++ and fix tests alongside 2022-01-11 09:19:53 -05:00
9c05ceb976 tests: add and test format example configs 2021-10-04 19:49:51 +00:00
18c68f0f4f ci: fix tests 2021-09-22 17:06:08 +02:00
4c6248d1c2 tests: make tests faster 2021-09-22 10:48:44 +02:00
16dec338d1 tests: disable broken tests 2021-09-22 10:48:17 +02:00