Commit Graph

3 Commits

Author SHA1 Message Date
Steve Robb
2dbb55ad33 Fix for two logfiles being created in the same second.
#codereview robert.manuszewski

[CL 2608003 by Steve Robb in Main branch]
2015-07-01 15:17:51 -04:00
Steve Robb
cec0c7ca73 New method for determining unique log filenames.
#codereview robert.manuszewski

[CL 2607719 by Steve Robb in Main branch]
2015-07-01 13:21:03 -04:00
Wes Hunt
506f7e64a4 UEB-260 - Break AutomationTool into AutomationUtils that all automation projects depend on, and AutomationTool, which essentially only contains the startup code.
* Remove ErrorReporter.Error, replace with AutomationException with Error Code.
* Move ErrorCodes to AutomationException.
* Don't return exit codes. Solely rely on exceptions to propagate exit codes.
* Remove MainProc delegate
* Remove setting of Environment.ExitCode as it is ignored when main returns an int.
* ShutdownLogging is nothrow, as all exceptions would be ignored anyway.
* Wrap all shutdown steps so further ones get a chance to run.
* Move HostPlatform.Initialize into the global try/catch block
#codereview:ben.marsh

[CL 2605826 by Wes Hunt in Main branch]
2015-06-30 11:40:05 -04:00