test: Show debug log on unit test failure

This commit is contained in:
MarcoFalke
2019-09-27 11:53:34 -04:00
parent 17e14ac92f
commit fa37e0a68b
7 changed files with 34 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin);
#endif
#endif
const std::function<void(const std::string&)> G_TEST_LOG_FUN{};
// This is all you need to run all the tests
int main(int argc, char *argv[])
{