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>
21 lines
521 B
Bash
Executable File
21 lines
521 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
rootdir=$(readlink -f $testdir/../../..)
|
|
source $rootdir/test/common/autotest_common.sh
|
|
|
|
trap 'killprocess $spdk_tgt_pid; exit 1' ERR
|
|
|
|
$SPDK_BIN_DIR/spdk_tgt &
|
|
spdk_tgt_pid=$!
|
|
waitforlisten $spdk_tgt_pid
|
|
|
|
# Test deprecated rpcs in json
|
|
$rootdir/scripts/rpc.py load_config -i < $testdir/conf.json
|
|
|
|
# Test deprecated rpcs in rpc.py
|
|
$rootdir/scripts/rpc.py delete_malloc_bdev "Malloc0"
|
|
$rootdir/scripts/rpc.py delete_malloc_bdev "Malloc1"
|
|
|
|
killprocess $spdk_tgt_pid
|