From 247a101c20df114bc1d07c3341bcc16e44968181 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 19 Feb 2018 18:24:58 +0000 Subject: xci: xci-deploy.sh: Calculate and print the total deployment time It's useful to know how XCI performs in terms of duration time so use the bash $SECONDS variable to calculate the total amount of time it takes for a full XCI deployment. Moreover, use the 'ts' command to print a timestamp for every command executed. This will help developers identify tasks which take a lot of time to complete and possibly optimize them. Change-Id: I75a8cb8c05957bb205e63210d6cafaf54d989f32 Signed-off-by: Markos Chandras --- xci/scripts/vm/start-new-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xci/scripts') diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh index 70dc4efb..4e860b54 100755 --- a/xci/scripts/vm/start-new-vm.sh +++ b/xci/scripts/vm/start-new-vm.sh @@ -335,7 +335,7 @@ if [[ $? != 0 ]]; then #!/bin/bash export XCI_FLAVOR=mini cd ~/releng-xci/xci -./xci-deploy.sh +./xci-deploy.sh | ts EOF # Copy again do_copy -- cgit 1.2.3-korg