Add a preliminary client test suite

This simply tests the current functionality of the gamemode_client tools by calling each function in turn and checking the values return correctly.

	Requires the gamemode service to currently be running and installed on the system.
This commit is contained in:
Marc Di Luzio
2019-01-26 11:33:20 +00:00
parent 94cfa2de54
commit 0b4e86651e
3 changed files with 212 additions and 2 deletions

View File

@ -135,4 +135,4 @@ char *game_mode_resolve_wine_preloader(const pid_t pid);
/** gamemode-tests.c
* Provides a test suite to verify gamemode behaviour
*/
int game_mode_run_tests(void);
int game_mode_run_client_tests(void);