This PR contains the following changes:
- Fix installation of translations.
- Put icons to the correct location.
- Run boinc-client service after package installation.
- Add ca-certificates package dependency.
- Create link to the system ca certificates file during installation.
- Create /etc/boinc-client folder if not exists.
- Set permissions to the data directory. Create configuration files (and symbolic links to them) if not exist.
- Add X11 config file. Fix boinc.conf file installation.
- Add current user to the boinc group.
- Add boinc user to the video and render groups.
- Create boinc user and boinc group when installing the package.
- Put postinst script to the package.
- Add integration tests.
This PR fixes the following issues: #5324, #5325, #5335, #5431.
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Changed ASSERT_* calls to EXPECT_* as the former aborts the testrun immediately and the latter will run the remaining tests and mark the run as failed in the end.
The remaining functions either don't need testing or need the googlemock framework to do proper testing.
Do a rebuild from scratch only if requested. This allows fast local testing of new or changes test cases.
Don't need to call gcov ourselves as this is done by codecov too.
* enable coverage reports from gcc and disable optimizations via option to configure
* install googletest library into buildcache
* script to compile and run unit tests using cmake
* first set of unit tests originaly contributed by Keith Uplinger
There are several hardcoded paths and assumptions made in order to get this working on Travis CI. New tooling is using cmake for cross platform builds and as such is not easy to use with an autotools based system.
It's not ideal but better than nothing.