autotest.sh: remove udev.log if tests successful
Remove udev.log just before exiting from autotest.sh. This file probably won't be useful in case all functional tests passed and leaving it unnecesarily bloats the output directory. Change-Id: I1c019a09ed573a0423e085ce96919162efec80a6 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9413 Reviewed-by: Michal Berger <michalx.berger@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
This commit is contained in:
parent
2f0f20d79b
commit
8106e20726
@ -357,6 +357,8 @@ trap - SIGINT SIGTERM EXIT
|
||||
# catch any stray core files
|
||||
process_core
|
||||
|
||||
[[ -f "$output_dir/udev.log" ]] && rm -f "$output_dir/udev.log"
|
||||
|
||||
if hash lcov && ! [[ "$CC_TYPE" == *"clang"* ]]; then
|
||||
# generate coverage data and combine with baseline
|
||||
$LCOV -q -c -d $src -t "$(hostname)" -o $out/cov_test.info
|
||||
|
Loading…
Reference in New Issue
Block a user