+ bool isOK = result.wasSuccessful();
+
+#ifndef WIN32
+ DEBTRACE("End of tests");
+#endif
+
+ aWindow->close();
+ aSession.closeSession();
+ anApp.exit(!isOK);
+
+#ifndef WIN32
+ DEBTRACE("--- TODO: exception on exit..."); // TODO: exception on exit...
+#endif
+
+ int ms = progress.GetCompleteTimeInMS();
+ printf( "\n\n" );
+ printf( "%i TESTS in %i SUITES\n", progress.GetNbTests(), progress.GetNbSuites() );
+ printf( "COMPLETE TESTS TIME: %i ms\n", ms );
+ progress.DumpFailures();