Add pass/fail for the CPU tests

This commit is contained in:
Marc Di Luzio 2019-02-07 19:37:32 +00:00
parent 6bfedc9692
commit 7f5e59b7c4

View File

@ -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? */