Updated test harness behaviour
Running the execute.sh script
o Running "./execute.sh" with no arguments runs each of the test modules with
parallel test case execution.
o Running with "-r" option re-runs failing test cases
o Running with the name of a test module runs only that test module, with
remaining arguments passed on. (i.e, can use -r and test case name)
o Running with a test case name will run each module with that test case name,
and display it's output, or a message if it wasn't found in any test module.
o Running with "-s" option runs the testkit-lite harness (executes all tests serially,
writes to XML output). This has the old behaviours:
o Can run each test module individually by specifying it's name first.
o Can run all tests in a test file by specifying the source filename
Executing a test module directly now has the following behaviour:
o With no arguments, runs all the test cases in parallel.
o With "-r" option, it will run all the test cases in parallel, then rerun
the failing test cases serially (with readable output)
o Running with a test case name will execute only that test case and displays
it's output on the command line
Colorised the output
Change-Id: Ibec29f043b7e4a31d67d0908aa52549953cd97ed
Signed-off-by: David Steele <david.steele@partner.samsung.com>