Output test-suite.log to console when verbose used
Change-Id: Ia6086275f34d78d4f5316c14adb978744740a7ae
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/scripts/unit-test.py b/scripts/unit-test.py
index 2626bc0..c635158 100755
--- a/scripts/unit-test.py
+++ b/scripts/unit-test.py
@@ -178,5 +178,9 @@
dep_installed)
os.chdir(os.path.join(WORKSPACE, UNIT_TEST_PKG))
# Run package unit tests
- check_call_cmd(os.path.join(WORKSPACE, UNIT_TEST_PKG), 'make', 'check')
+ if args.verbose:
+ check_call_cmd(os.path.join(WORKSPACE, UNIT_TEST_PKG), 'make', 'check',
+ 'VERBOSE=1')
+ else:
+ check_call_cmd(os.path.join(WORKSPACE, UNIT_TEST_PKG), 'make', 'check')
os.umask(prev_umask)