Update with more pre-generated levels
Also clean up test code to not output unless erroring
This commit is contained in:
parent
dbfd932a64
commit
526451ad02
4 changed files with 59 additions and 19 deletions
|
@ -193,16 +193,13 @@ const char* tests()
|
|||
// Main program entry point
|
||||
int main()
|
||||
{
|
||||
std::cout<<"Running tests"<<std::endl;
|
||||
|
||||
const char* res = tests();
|
||||
|
||||
if( res )
|
||||
{
|
||||
std::cout<<"Tests failed - "<<res<<std::endl;
|
||||
std::cout<<"ERROR: "<<res<<std::endl;
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout<<"Tests succeeded"<<std::endl;
|
||||
return 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue