Commit Graph

13 Commits

Author SHA1 Message Date
Robin Müller c90d1c8071
continue dest handler impl 2022-09-02 14:39:53 +02:00
Robin Müller f1c37203a4
some more API improvements and replacements 2022-07-26 11:14:40 +02:00
Robin Müller 78b09ed0c9
fixes includes 2022-07-18 11:58:55 +02:00
Jakob Meier 1611a4e1f0 device handler unittest wip 2022-05-16 11:10:35 +02:00
Steffen Gaisser 20928732ec Merge branch 'development' into gaisser_unit_test_internal_error 2022-02-28 15:19:44 +01:00
Robin Müller fdc8a3d4f7
display run commands in helper script 2022-02-22 14:02:03 +01:00
Steffen Gaisser b7f3eff742 WIP unit tests 2022-02-18 19:08:06 +01:00
Steffen Gaisser 074ef29b86 Fixed valgrind python script 2022-02-14 15:19:47 +01:00
Robin Müller fed39defd3
update helper script 2022-02-02 09:56:12 +01:00
Robin Müller 371ff931bf
Linux CommandExecutor
The CommandExecutor helper class can execute shell commands in blocking and non-blocking mode
This class is able to execute processes by using the Linux popen call. It also has the capability of writing
the read output of a process into a provided ring buffer.

The executor works by first loading the command which should be executed and specifying whether
it should be executed blocking or non-blocking. After that, execution can be started with the execute call.

Using non-blocking mode allows to execute commands which might take a longer time in the background,
and allowing the user thread to check completion status with the check function

Moved to HAL like requested in code review and unit tested with failing commands as well.
Also, Linux HAL components are compiled by default now unless explicitely disabled.
2022-01-26 12:11:52 +01:00
Robin Müller 4a5204d6f6
small fix for helper script 2021-12-06 14:46:31 +01:00
Robin Müller df45f02c39
script fixes, odd behaviour 2021-12-03 14:55:00 +01:00
Robin Müller c2bf09d506 Introducing documentation with Sphinx
This PR introduces the generation of documentation based on
this excellent blog post:

It combines the tools Sphinx, Doxygen and Breathe to generate good
looking HTML documentation conveniently which can be hosted easily.

The helper scripts were unified and there is now one script
which can be used to create, build and open both tests and documentation.
"./ -h" can be used to get the different options.

This PR also contains some smaller fixes which were necessary for the docs
to build
2021-12-01 11:17:28 +01:00