Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TestTool::init: properly handle SDL::init errors
So far TestTool::init was just capturing stdout and stderr of SDL::init, using stderr to check whether SDL::init failed. This, other than being fragile, misses the init errors. Switch from checking stderr to checking the actual result code of SDL::init.
- Loading branch information