deskflow/src/test/unittests
Nick Bolton 47849db4d9
Run Valgrind on unit tests in CI to detect memory leaks (#7401)
* Move QApplication out of main to reduce memory impact when running individual tests

* Add --valgrind arg and colorize output when command returns non-zero exit code

* Fixed: colorama not always available

* Test multiple Qt tests

* Fixed: Windows Qt test failing due to missing QCoreApplication

* Simplify fake args for Qt

* Use --ci-env arg

* Create Valgrind analysis workflow

* Rename vars for fake args

* Parse and output valgrind summary

* Add build mode to comment

* Use GITHUB_OUTPUT to output summary

* Merge valgrind comment

* Improve comment

* Use `tee` instead of `--log-file` to also print stdout

* Improve comment about debug and release

* Simplify output writing in parse step

* Improve step name

* Correct comment about summaries

* Remove commented out code

* Better var name

* Missing copyright

* Rename global to shared

* Remove space

* Revert change to ConfigTests.cpp
2024-07-17 09:22:46 +01:00
..
arch Make Clang param and arg alignment more readable (#7387) 2024-07-16 14:36:44 +01:00
base Make Clang param and arg alignment more readable (#7387) 2024-07-16 14:36:44 +01:00
gui Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
ipc Solve SonarCloud security hotspots and bugs (#7383) 2024-07-16 08:30:35 +00:00
platform Solve SonarCloud security hotspots and bugs (#7383) 2024-07-16 08:30:35 +00:00
server Solve SonarCloud security hotspots and bugs (#7383) 2024-07-16 08:30:35 +00:00
shared Solve SonarCloud security hotspots and bugs (#7383) 2024-07-16 08:30:35 +00:00
synergy Make Clang param and arg alignment more readable (#7387) 2024-07-16 14:36:44 +01:00
CMakeLists.txt Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
main.cpp Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00