6b9b448e53
Automatically place binaries produced from the app directory into build/bin. This matches with the output in build/lib that already exists. Change-Id: I13cd2da71d2f88592e22308fe8a907bf458458b5 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2379 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
23 lines
707 B
Bash
23 lines
707 B
Bash
# 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
|
|
|
|
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")
|
|
|
|
# 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+=("--log-flags=all")
|
|
ISCSI_APP+=("--log-flags=all")
|
|
NVMF_APP+=("--log-flags=all")
|
|
VHOST_APP+=("--log-flags=all")
|
|
fi
|
|
fi
|