From 7965fd2b4a8ac6d5b200835033849351284e9e94 Mon Sep 17 00:00:00 2001 From: Ederson de Souza Date: Wed, 18 Jan 2023 16:02:55 -0800 Subject: [PATCH] samples/boards/intel_adsp: Make sample work with twister sample.yaml was missing a tests section, making it unable to run with twister. This patch adds the section. While at that, fix an issue in the sample README.rst. Fixes #53656. Signed-off-by: Ederson de Souza --- samples/boards/intel_adsp/code_relocation/README.rst | 2 +- samples/boards/intel_adsp/code_relocation/sample.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/samples/boards/intel_adsp/code_relocation/README.rst b/samples/boards/intel_adsp/code_relocation/README.rst index 13fddffae6c..3ab0025f3c5 100644 --- a/samples/boards/intel_adsp/code_relocation/README.rst +++ b/samples/boards/intel_adsp/code_relocation/README.rst @@ -16,7 +16,7 @@ linker script to ensure that. Building and Running ******************** -This application can be built and executed on QEMU as follows: +This application can be built and executed as follows: .. zephyr-app-commands:: :zephyr-app: samples/hello_world diff --git a/samples/boards/intel_adsp/code_relocation/sample.yaml b/samples/boards/intel_adsp/code_relocation/sample.yaml index e7b4f2e0f1f..14ceae120ec 100644 --- a/samples/boards/intel_adsp/code_relocation/sample.yaml +++ b/samples/boards/intel_adsp/code_relocation/sample.yaml @@ -1,3 +1,7 @@ sample: description: Code relocation sample for Intel ADSP Cavs. name: cavs_code_reloc +tests: + sample.intel_adsp.code_relocation: + platform_allow: intel_adsp_cavs18 intel_adsp_cavs25 + tags: linker