Merge remote-tracking branch 'goog/upstream-master' into citadel-ba9f1d086

* goog/upstream-master:
  Revert "Tests of Citadel's transport protocol implementation."
  Tests of Citadel's transport protocol implementation.
  Copy the NOTICE file from Android
  keymaster: add mock hmac to import-w-k blob
  Remove secret keyword
  Fix the android build errors related to FLAGS_print_uart.
  Move some print statements to verbosity=INFO.
  Added util_verbosity and util_print_uart flags.
  Add placeholder android pay test to release tests
  Add tests for AP UART PASSTHRU
  ImportKey tests can't be run on Android
  Test bootloader can wipe data then set boot lock.
  Updated documentation to trigger a build.
  Weaver: regression test for data wipe behaviour
  keymaster: refactor bootloader utility code
  Add some tests to validate a release candidate

Bug: 109864210
Test: Update, boot, set and unlock with PIN
Change-Id: I1b5aa1859df4b0b7f1957fced2764ecc6c82630a
tree: 316022fbf55b4d76d21bdcc382efcb879e541404
  1. scripts/
  2. src/
  3. tools/
  4. .gitignore
  5. Android.bp
  6. BUILD
  7. LICENSE
  8. METADATA
  9. MODULE_LICENSE_APACHE2
  10. NOTICE
  11. README.md
  12. 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