summaryrefslogtreecommitdiff
path: root/tcwg_kernel-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg_kernel-build.sh')
-rwxr-xr-xtcwg_kernel-build.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/tcwg_kernel-build.sh b/tcwg_kernel-build.sh
index f23bae86..5469c7ea 100755
--- a/tcwg_kernel-build.sh
+++ b/tcwg_kernel-build.sh
@@ -165,11 +165,11 @@ build_linux ()
# Number of .o files created is the main success metric.
local linux_n_obj
linux_n_obj=$(find linux -name "*.o" | wc -l)
- echo "linux_n_obj:" >> ${rr[top_artifacts]}/results
+ echo "# linux_n_obj:" >> ${rr[top_artifacts]}/results
echo "$linux_n_obj" >> ${rr[top_artifacts]}/results
if [ $res = 0 ]; then
- echo "linux build successful:" >> ${rr[top_artifacts]}/results
+ echo "# linux build successful:" >> ${rr[top_artifacts]}/results
echo "all" >> ${rr[top_artifacts]}/results
fi
@@ -200,7 +200,7 @@ boot_linux ()
-serial stdio -display none \
-append "console=ttyAMA0 panic=-1" -no-reboot
- echo "linux boot successful:" >> ${rr[top_artifacts]}/results
+ echo "# linux boot successful:" >> ${rr[top_artifacts]}/results
echo "boot" >> ${rr[top_artifacts]}/results
)
}
@@ -215,12 +215,12 @@ no_regression_p ()
local new_artifacts=$2
local linux_n_obj
- linux_n_obj=$(tail -n1 $new_artifacts/results)
+ linux_n_obj=$(grep -v "^#" $new_artifacts/results | tail -n1)
# Assume worst for non-existent baseline.
local base_linux_n_obj="-10"
if [ -f $ref_artifacts/results ]; then
- base_linux_n_obj=$(tail -n1 $ref_artifacts/results)
+ base_linux_n_obj=$(grep -v "^#" $ref_artifacts/results | tail -n1)
fi
# In log scan for errors below