1
0
Fork 0

Don't fail on games with no testcases (#52)

Validator: Don't fail on games with no testcases
This commit is contained in:
James 2017-07-11 00:05:27 +10:00 committed by Flame Sage
parent 8e13028862
commit d43cb64f2c
1 changed files with 4 additions and 3 deletions

View File

@ -252,9 +252,10 @@ function validateTOML(path) {
validateNotEmpty(testcase, "gpu");
validateNotEmpty(testcase, "os");
});
} else {
validationError("No testcases.")
}
/* else {
validationError("No testcases.")
}*/
// We only check these if we have a known test result (we cannot know if a game needs
// resources if it doesn't even run!)
@ -407,4 +408,4 @@ if (errors.length > 0 || miscError) {
console.info('Validation completed without errors.');
process.exit(0);
}