Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enabling ftrace for kernel debugging.
[kvmfornfv.git]
/
ci
/
envs
/
host-config
diff --git
a/ci/envs/host-config
b/ci/envs/host-config
index
0f77b7a
..
4742cc4
100755
(executable)
--- a/
ci/envs/host-config
+++ b/
ci/envs/host-config
@@
-33,3
+33,14
@@
done
#Isolated cpus from host_isolcpus range to run Stress tool
stress_isolcpus=${first}-${last}
echo "Stress tool runs on $stress_isolcpus"
#Isolated cpus from host_isolcpus range to run Stress tool
stress_isolcpus=${first}-${last}
echo "Stress tool runs on $stress_isolcpus"
+
+#Tar the log files generated during testcase execution.
+function err_exit {
+ exitCode=$1
+ cd $WORKSPACE/build_output/
+ if [ -d log ];then
+ tar -czvf log-$(date -u +"%Y-%m-%d_%H-%M-%S").tar.gz log
+ fi
+ exit $exitCode
+}
+