Don't fail on games with no testcases (#52)
Validator: Don't fail on games with no testcases
This commit is contained in:
parent
8e13028862
commit
d43cb64f2c
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in New Issue