Correcting two auto test errors.

1. See diff for _main.cc.
2. Can't chose custom ports, see line 843 and 997 in new version of _custom_call.cc.

+ Refactored custom_call.cc, which makes the diff quite hard to read
Review URL: http://webrtc-codereview.appspot.com/47004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@119 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mflodman@google.com 2011-06-23 08:43:37 +00:00
parent 36d93504b8
commit a591d3fb41
2 changed files with 967 additions and 812 deletions

View File

@ -95,9 +95,9 @@ bool ViEAutoTestMain::BeginOSIndependentTesting()
}
ViETest::Log("");
if (testType < 1 && testType > 7)
if (testType < 0 || testType > 8)
{
ViETest::Log("ERROR: Invalid selection. Try again");
ViETest::Log("ERROR: Invalid selection. Try again\n");
continue;
}
@ -394,5 +394,3 @@ bool ViEAutoTestMain::UseAnswerFile(const char* fileName)
return _useAnswerFile;
*/
}