Commit Graph

7 Commits

Author SHA1 Message Date
b7f3eff742 WIP unit tests 2022-02-18 19:08:06 +01:00
074ef29b86 Fixed valgrind python script 2022-02-14 15:19:47 +01:00
update helper script 2022-02-02 09:56:12 +01:00
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
small fix for helper script 2021-12-06 14:46:31 +01:00
script fixes, odd behaviour 2021-12-03 14:55:00 +01:00
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