GetLowPowerStats should accept old & new struct

We added a couple of fields to struct nugget_app_low_power_stats,
which older firmware releases don't yet have. Modify the test to
accept both old and new return values.

Bug: 126618512
Test: Manual; ran against old & new firmware, both now pass

Change-Id: I8e5eded261b47a610880d93d4211527ad1babc39
Signed-off-by: Bill Richardson <wfrichar@google.com>
1 file changed
tree: 1ce34b20aafac9179ce8c594dfeb4458e3555943
  1. scripts/
  2. src/
  3. tools/
  4. .bazelrc
  5. .checkpatch.conf
  6. .clang-format
  7. .gitignore
  8. Android.bp
  9. BUILD
  10. LICENSE
  11. METADATA
  12. MODULE_LICENSE_APACHE2
  13. NOTICE
  14. README.md
  15. WORKSPACE
README.md

Citadel Test Harness

This project houses the code needed to run tests from a host connected to the citdadel chip.

Requirements

  • Software
  • bazel
  • build-essential
  • gcc-arm-none-eabi
  • Hardware
  • FPGA test setup with ultradebug or Citadel test board

Quickstart

The command to run the tests from a host machine is:

bazel run runtests

On Android run:

mmma -jnproc external/nos Make sure verity is disabled and the system partion is remounted then run: adb sync adb citadel_integration_tests