Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f0b655d authored by Jack He's avatar Jack He
Browse files

Cert: Check return status of compilation command

Test: gd/cert/run --host --test_filter=SimpleHalTest
Bug: 151989046
Change-Id: I57961475c1bea0837840f18fa12e8945ee77cfc1
parent 41846c55
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -14,6 +14,10 @@ if ! [ -x "$(command -v python3.8)" ] ; then
fi

$ANDROID_BUILD_TOP/build/soong/soong_ui.bash --build-mode --"all-modules" --dir="$(pwd)" dist bluetooth_stack_with_facade
if [[ $? -ne 0 ]] ; then
    echo "Failed to build bluetooth_stack_with_facade"
    exit 1
fi

TEST_CONFIG="$ANDROID_BUILD_TOP/packages/modules/Bluetooth/system/gd/cert/android_devices_config.json"
TEST_FILTER="-tf $ANDROID_BUILD_TOP/packages/modules/Bluetooth/system/gd/cert/all_cert_testcases"