GatordMock: Fixing errors in parsing command file.
authorColm Donelan <Colm.Donelan@arm.com>
Mon, 2 Mar 2020 21:35:10 +0000 (21:35 +0000)
committerJim Flynn <jim.flynn@arm.com>
Thu, 12 Mar 2020 13:13:12 +0000 (13:13 +0000)
commite9b5d2989abc8008df7ff3ea287ee896ee1121a6
treedeaa54824e251207566500c778aae72fe06cd6bd
parentc9e52794083eb73dd1bbf15ce7b16bb26394d7f5
GatordMock: Fixing errors in parsing command file.

An empty line resulted in program exit.

* Ignore empty lines.
* Add error message when an invalid number of parameters to
  SET or WAIT command is encountered.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: Ie2d229c1330b71b559d988d4ecb8019f2f850333
tests/profiling/gatordmock/CommandFileParser.cpp