Skip to content

oyvindronningstad/suit-processor

 
 

Repository files navigation

SUIT Manifest Processor

The manifest processor takes signed SUIT1 envelope and:

  • Validates the structure of the envelope
  • Checks the signature of the manifest
  • Validates the structure of the manifest
  • Validates the parameters
  • Runs the requested commands

Running tests

The tests are deivided into two categories:

  • Unit tests - that verify the SUIT processor module logic. They are based on the Unity CMock mocking framework, running under Zephyr RTOS.
  • Integration tests - that verify the SUIT processor running with a sample platform code on the HW. Those tests are based on the Zephyr ztest.

There are also test scripts to quickly run all tests.

  • tests/test.sh runs all tests.
  • tests/verbose_test.sh runs all tests with increased verbosity. Please make sure that the environment variable $ZEPHYR_BASE is set prior to running those scripts.

To set up the environment to all tests, follow nRF Connect SDK Getting Started Guide, or see the workflow in the .github directory. Alternatively, to run only integration tests, you may follow Zephyr's Getting Started Guide.

Releases

No releases published

Packages

No packages published

Languages

  • C 97.9%
  • CMake 2.0%
  • Shell 0.1%