Commit 32a9d13d authored by David Brown's avatar David Brown Committed by Carles Cufi
Browse files

samples: tfm: Update tag to run tests on module change



A recent change #61718, adds support to the twister build to check for
manifest changes, and run tests using tags based on the modules that have
changed.  The tfm tests have an existing tag `tfm` to select these tests,
but the above patch uses a tag named after the module, trusted-firmware-m.
To make this work, add `trusted-firmware-m` in addition to the existing tag
`tfm` so that these tests will run whenever the tfm module is updated.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 8a779fc7
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -5,7 +5,12 @@ sample:
  name: PSA crypto example
tests:
  sample.psa_crypto:
    tags: introduction tfm crypto csr
    tags:
      - introduction
      - tfm
      - trusted-firmware-m
      - crypto
      - csr
    platform_allow: mps2_an521_ns v2m_musca_s1_ns
      nrf5340dk_nrf5340_cpuapp_ns nrf9160dk_nrf9160_ns
      stm32l562e_dk_ns bl5340_dvk_cpuapp_ns
+3 −1
Original line number Diff line number Diff line
@@ -28,4 +28,6 @@ common:

tests:
  sample.tfm.protected_storage:
    tags: tfm
    tags:
      - tfm
      - trusted-firmware-m
+2 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ tests:
    tags:
      - introduction
      - tfm
      - trusted-firmware-m
    platform_allow:
      - mps2_an521_ns
      - nrf5340dk_nrf5340_cpuapp_ns
@@ -30,6 +31,7 @@ tests:
    tags:
      - introduction
      - tfm
      - trusted-firmware-m
    platform_allow: mps2_an521_ns
    extra_configs:
      - CONFIG_TFM_BL2=n
+3 −1
Original line number Diff line number Diff line
common:
  tags: tfm
  tags:
    - tfm
    - trusted-firmware-m
  platform_allow:
    - mps2_an521_ns
    - nrf5340dk_nrf5340_cpuapp_ns
+3 −1
Original line number Diff line number Diff line
common:
  tags: tfm
  tags:
    - tfm
    - trusted-firmware-m
  platform_allow:

    - nrf5340dk_nrf5340_cpuapp_ns
Loading