ci: do not build btsim if not installed

Do not attempt to build btsim if software is not installed.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-12-03 19:08:58 -05:00
commit 3a361ecdc7

View file

@ -225,7 +225,7 @@ function get_tests_to_run() {
if [ -n "$MAIN_CI" ]; then if [ -n "$MAIN_CI" ]; then
if [ ! -z "${BSIM_OUT_PATH}" ]; then if [ -n "${BSIM_OUT_PATH}" -a -d "${BSIM_OUT_PATH}" ]; then
echo "Build BT simulator tests" echo "Build BT simulator tests"
# Build BT Simulator # Build BT Simulator
build_btsim build_btsim