mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 23:57:22 +02:00
Fix feature status codes - failures here should be considered a failure
This commit is contained in:
parent
934b497603
commit
6869470f9b
@ -809,7 +809,7 @@ static int game_mode_run_feature_tests(struct GameModeConfig *config)
|
|||||||
else {
|
else {
|
||||||
LOG_MSG("::: Failed!\n");
|
LOG_MSG("::: Failed!\n");
|
||||||
// Consider the CPU governor feature required
|
// Consider the CPU governor feature required
|
||||||
status = 1;
|
status = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -825,7 +825,7 @@ static int game_mode_run_feature_tests(struct GameModeConfig *config)
|
|||||||
else {
|
else {
|
||||||
LOG_MSG("::: Failed!\n");
|
LOG_MSG("::: Failed!\n");
|
||||||
// Any custom scripts should be expected to work
|
// Any custom scripts should be expected to work
|
||||||
status = 1;
|
status = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -841,7 +841,7 @@ static int game_mode_run_feature_tests(struct GameModeConfig *config)
|
|||||||
else {
|
else {
|
||||||
LOG_MSG("::: Failed!\n");
|
LOG_MSG("::: Failed!\n");
|
||||||
// Any custom scripts should be expected to work
|
// Any custom scripts should be expected to work
|
||||||
status = 1;
|
status = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -860,7 +860,7 @@ static int game_mode_run_feature_tests(struct GameModeConfig *config)
|
|||||||
else {
|
else {
|
||||||
LOG_MSG("::: Failed!\n");
|
LOG_MSG("::: Failed!\n");
|
||||||
// Renice should be expected to work, if set
|
// Renice should be expected to work, if set
|
||||||
status = 1;
|
status = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -876,7 +876,7 @@ static int game_mode_run_feature_tests(struct GameModeConfig *config)
|
|||||||
else {
|
else {
|
||||||
LOG_MSG("::: Failed!\n");
|
LOG_MSG("::: Failed!\n");
|
||||||
// Ioprio should be expected to work, if set
|
// Ioprio should be expected to work, if set
|
||||||
status = 1;
|
status = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user