Put in new tests for agg and gui release builds.
This commit is contained in:
parent
c4cac518e1
commit
d0519e211c
2 changed files with 12 additions and 4 deletions
|
|
@ -83,10 +83,7 @@ namespace MatterHackers.MatterControl
|
|||
commandLineArgs.CopyTo(testCommands, 2);
|
||||
}
|
||||
testDispatch.RunTests(testCommands);
|
||||
if (testDispatch.HadErrors)
|
||||
{
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
//WriteTestGCodeFile();
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue