Bdevperf build directory was changed but not updated in this script. Change-Id: I939b541dbea6c94e7e2d3592890f4a4e8998d321 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16332 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
33 lines
962 B
Bash
33 lines
962 B
Bash
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (C) 2020 Intel Corporation
|
|
# All rights reserved.
|
|
#
|
|
|
|
# Default set of apps used in functional testing
|
|
|
|
_root=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")
|
|
_root=${_root%/test/common}
|
|
_app_dir=$_root/build/bin
|
|
_test_app_dir=$_root/test/app
|
|
_examples_dir=$_root/build/examples
|
|
|
|
VHOST_FUZZ_APP=("$_test_app_dir/fuzz/vhost_fuzz/vhost_fuzz")
|
|
ISCSI_APP=("$_app_dir/iscsi_tgt")
|
|
NVMF_APP=("$_app_dir/nvmf_tgt")
|
|
VHOST_APP=("$_app_dir/vhost")
|
|
DD_APP=("$_app_dir/spdk_dd")
|
|
SPDK_APP=("$_app_dir/spdk_tgt")
|
|
|
|
# Check if apps should execute under debug flags
|
|
if [[ -e $_root/include/spdk/config.h ]]; then
|
|
if [[ $(< "$_root/include/spdk/config.h") == *"#define SPDK_CONFIG_DEBUG"* ]] \
|
|
&& ((SPDK_AUTOTEST_DEBUG_APPS)); then
|
|
VHOST_FUZZ_APP+=("--logflag=all")
|
|
ISCSI_APP+=("--logflag=all")
|
|
NVMF_APP+=("--logflag=all")
|
|
VHOST_APP+=("--logflag=all")
|
|
DD_APP+=("--logflag=all")
|
|
SPDK_APP+=("--logflag=all")
|
|
fi
|
|
fi
|