mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-06 05:08:29 +02:00
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:
@@ -142,7 +142,7 @@ int main(int argc, char *argv[])
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
case 't':
|
||||
if ((status = game_mode_run_tests()) == 0) {
|
||||
if ((status = game_mode_run_client_tests()) == 0) {
|
||||
fprintf(stdout, "gamemode tests succeeded\n");
|
||||
exit(EXIT_SUCCESS);
|
||||
} else if (status == -1) {
|
||||
|
Reference in New Issue
Block a user