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

Commit b684bd4e authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge "bootstat: test: duration fixes"

am: 5126ce99

Change-Id: I7ea58e8c3b292b39ccc3b9814303cd72683c1314
parents 6353d514 5126ce99
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -70,6 +70,8 @@ checkDebugBuild() {
    false
  else
    echo "ERROR: '${TEST}' test requires userdebug build, skipping FAILURE"
    duration_prefix="~"
    duration_estimate=1
    false
  fi >&2
}
@@ -130,6 +132,8 @@ exitPstore() {
      return ${save_ret}
    fi
    echo "ERROR: '${TEST}' test requires functional pstore, skipping FAILURE"
    duration_prefix="~"
    duration_estimate=1
  fi >&2
}

@@ -792,7 +796,7 @@ thermal shutdown test:
- adb shell getprop sys.boot.reason
- NB: should report shutdown,thermal" ]
test_thermal_shutdown() {
  durtion_test ">60"
  duration_test ">60"
  echo "      power on request" >&2
  adb shell setprop sys.powerctl shutdown,thermal
  sleep 5