mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +02:00
Add pass/fail for the CPU tests
This commit is contained in:
parent
6bfedc9692
commit
7f5e59b7c4
@ -259,8 +259,8 @@ static int game_mode_run_feature_tests(void)
|
||||
config_init(config);
|
||||
|
||||
/* Does the CPU governor get set properly? */
|
||||
int cpustatus = 0;
|
||||
{
|
||||
int cpustatus = 0;
|
||||
LOG_MSG("::: Verifying CPU governor setting\n");
|
||||
|
||||
/* get the two config parameters we care about */
|
||||
@ -309,6 +309,13 @@ static int game_mode_run_feature_tests(void)
|
||||
cpustatus = -1;
|
||||
}
|
||||
}
|
||||
|
||||
if (cpustatus == 0)
|
||||
LOG_MSG("::: Passed\n");
|
||||
else {
|
||||
LOG_MSG("::: Failed!\n");
|
||||
status = 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Do custom scripts run? */
|
||||
|
Loading…
x
Reference in New Issue
Block a user