scripts/unit-test.py: Dump the test log if tests fail

Also clean up the redundant handling of the make invocation. If we want
to control make's behaviour, set MAKEFLAGS when calling the script.

Tested: Ran run-unit-test-docker.sh, confirmed log dump on test failure

Change-Id: Ibbc58a2ccfbe92c2e80db82a9ed91a61c7496131
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
1 file changed