blob: 30a087ce9d718ec591feb088b10280f22bb0883c [file] [log] [blame]
#! /bin/bash
if [[ -z "${ANDROID_BUILD_TOP}" ]]; then
echo "ANDROID_BUILD_TOP is not set"
fi
if [[ -z "${ANDROID_HOST_OUT}" ]]; then
echo "ANDROID_HOST_OUT is not set for host run"
fi
unzip -u $ANDROID_BUILD_TOP/out/dist/bluetooth_cert_generated_py.zip -d $ANDROID_BUILD_TOP/out/dist/bluetooth_cert_generated_py
# Run normal facade to cert API tests
PYTHONPATH=$PYTHONPATH:$ANDROID_BUILD_TOP/out/host/linux-x86/lib64:$ANDROID_BUILD_TOP/system/bt/gd:$ANDROID_BUILD_TOP/out/dist/bluetooth_cert_generated_py python3.8 `which act.py` -c $ANDROID_BUILD_TOP/system/bt/gd/cert/host_only_config.json -tf $ANDROID_BUILD_TOP/system/bt/gd/cert/cert_testcases -tp $ANDROID_BUILD_TOP/system/bt/gd