Merge "Run unit tests if verity has already been disabled" into main
This commit is contained in:
@@ -84,7 +84,7 @@ m -j $NUM_CORES $WV_UNITTESTS
|
||||
echo "waiting for device"
|
||||
ADB_OUTPUT=`adb $SERIAL_NUM root && echo ". " && adb $SERIAL_NUM wait-for-device remount`
|
||||
echo $ADB_OUTPUT
|
||||
if echo $ADB_OUTPUT | grep -qi "verity"; then
|
||||
if echo $ADB_OUTPUT | grep -qi "verity" | grep -vi "Verity is already disabled"; then
|
||||
echo
|
||||
echo "ERROR: This device has Verity enabled. build_and_run_all_unit_tests.sh "
|
||||
echo "does not work if Verity is enabled. Please disable Verity with"
|
||||
|
||||
@@ -68,7 +68,7 @@ fi
|
||||
echo "waiting for device"
|
||||
ADB_OUTPUT=`adb $SERIAL_NUM root && echo ". " && adb $SERIAL_NUM wait-for-device remount`
|
||||
echo $ADB_OUTPUT
|
||||
if echo $ADB_OUTPUT | grep -qi "verity"; then
|
||||
if echo $ADB_OUTPUT | grep -qi "verity" | grep -vi "Verity is already disabled"; then
|
||||
echo
|
||||
echo "ERROR: This device has Verity enabled. run_all_unit_tests.sh does not "
|
||||
echo "work if Verity is enabled. Please disable Verity with"
|
||||
|
||||
Reference in New Issue
Block a user