src/faceauth_tests.cc: return profile id stored

We have AuthToken now. We do not have a good way of testing AuthToken
itself (mac); however, this does allows us to implement additional
feature which is userID to profileID mapping. This adds tests to
make sure the mapping is maintained by citadel correctly.

Bug: 128981297
Test: bazel
Change-Id: Ic4767450aeed00f80a9a28879704172860aec10a
Signed-off-by: Ji Soo Shin <jisshin@google.com>
1 file changed
tree: dfeb7befe54df85a88165dc9a9e9e33286bff912
  1. scripts/
  2. src/
  3. tools/
  4. .checkpatch.conf
  5. .clang-format
  6. .gitignore
  7. Android.bp
  8. BUILD
  9. LICENSE
  10. METADATA
  11. MODULE_LICENSE_APACHE2
  12. NOTICE
  13. README.md
  14. 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