rbd: Enable rbd compilation in automation test

When /usr/include/rbd and /usr/include/rados
are detected, enable rbd compilation in autotest.

Change-Id: Ibcd8d444b83402af1996b1e382be204a87dbc6e9
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
Ziye Yang 2016-10-14 13:15:08 +08:00 committed by Daniel Verkamp
parent 9a1d4a00cc
commit 07965d9860

View File

@ -15,6 +15,10 @@ if [ -d /usr/src/fio ]; then
MAKECONFIG="$MAKECONFIG CONFIG_FIO_PLUGIN=y FIO_SOURCE_DIR=/usr/src/fio"
fi
if [ -d /usr/include/rbd ] && [ -d /usr/include/rados ]; then
MAKECONFIG="$MAKECONFIG CONFIG_RBD=y"
fi
timing_enter autobuild
timing_enter check_format