Don't pass anything to the testDispatch.
This commit is contained in:
parent
3911d8d14a
commit
fe0a0eb696
2 changed files with 2 additions and 7 deletions
|
|
@ -71,12 +71,7 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
case "TEST":
|
||||
Testing.TestingDispatch testDispatch = new Testing.TestingDispatch();
|
||||
string[] testCommands = new string[commandLineArgs.Length - 2];
|
||||
if (commandLineArgs.Length > 2)
|
||||
{
|
||||
commandLineArgs.CopyTo(testCommands, 2);
|
||||
}
|
||||
testDispatch.RunTests(testCommands);
|
||||
testDispatch.RunTests();
|
||||
return;
|
||||
|
||||
case "CLEAR_CACHE":
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ namespace MatterHackers.MatterControl.Testing
|
|||
}
|
||||
}
|
||||
|
||||
public void RunTests(string[] testCommands)
|
||||
public void RunTests()
|
||||
{
|
||||
try { ReleaseTests.AssertDebugNotDefined(); }
|
||||
catch (Exception e) { DumpException(e); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue