Add a condition to avoid the graceful killing of background processes

Avoid graceful killing of the background processes on test completion
if the model launched with the parameter “bp.pl011_uart0.shutdown_on_eot=1”.
Also, removed explicit call of cleanup function as it gets called
automatically on receiving signals (SIGINT, SIGHUP, SIGTERM, or EXIT).

Change-Id: Ib29149b06a6f35207f45dd6ff8bb7e9894837024
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
1 file changed