huge_pages=2
# QEMU executable path and number of cpus for guest
-qemu=/usr/libexec/qemu-kvm
+qemu=/usr/local/bin/qemu-system-x86_64
guest_cpus=2
# Isolated cpus for nfv, must be given as a range '-' and Numa node1 CPU's should be considered
#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
+}
+