Put in new tests for agg and gui release builds.

This commit is contained in:
larsbrubaker 2014-02-26 14:38:15 -08:00
parent c4cac518e1
commit d0519e211c
2 changed files with 12 additions and 4 deletions

View file

@ -83,10 +83,7 @@ namespace MatterHackers.MatterControl
commandLineArgs.CopyTo(testCommands, 2);
}
testDispatch.RunTests(testCommands);
if (testDispatch.HadErrors)
{
return;
}
return;
}
//WriteTestGCodeFile();

View file

@ -31,6 +31,17 @@ namespace MatterHackers.MatterControl.Testing
try { MatterHackers.GCodeVisualizer.GCodeFile.AssertDebugNotDefined(); }
catch (Exception e) { DumpException(e); }
try { MatterHackers.Agg.Graphics2D.AssertDebugNotDefined(); }
catch (Exception e) { DumpException(e); }
try { MatterHackers.Agg.UI.SystemWindow.AssertDebugNotDefined(); }
catch (Exception e) { DumpException(e); }
if (!HadErrors)
{
File.Delete(errorLogFileName);
}
}
void DumpException(Exception e)