samples: move testing -> subsys/testsuite

Move testsuite related items under subsys/testsuite.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2021-03-06 08:53:50 -05:00
commit cd1c2ab6ba
5 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ integration testing, or for unit testing specific modules.
Quick start - Integration testing Quick start - Integration testing
********************************* *********************************
A simple working base is located at :zephyr_file:`samples/testing/integration`. Just A simple working base is located at :zephyr_file:`samples/subsys/testsuite/integration`. Just
copy the files to ``tests/`` and edit them for your needs. The test will then copy the files to ``tests/`` and edit them for your needs. The test will then
be automatically built and run by the twister script. If you are testing be automatically built and run by the twister script. If you are testing
the **bar** component of **foo**, you should copy the sample folder to the **bar** component of **foo**, you should copy the sample folder to
@ -33,25 +33,25 @@ The sample contains the following files:
CMakeLists.txt CMakeLists.txt
.. literalinclude:: ../../../samples/testing/integration/CMakeLists.txt .. literalinclude:: ../../../samples/subsys/testsuite/integration/CMakeLists.txt
:language: CMake :language: CMake
:linenos: :linenos:
testcase.yaml testcase.yaml
.. literalinclude:: ../../../samples/testing/integration/testcase.yaml .. literalinclude:: ../../../samples/subsys/testsuite/integration/testcase.yaml
:language: yaml :language: yaml
:linenos: :linenos:
prj.conf prj.conf
.. literalinclude:: ../../../samples/testing/integration/prj.conf .. literalinclude:: ../../../samples/subsys/testsuite/integration/prj.conf
:language: text :language: text
:linenos: :linenos:
src/main.c (see :ref:`best practices <main_c_bp>`) src/main.c (see :ref:`best practices <main_c_bp>`)
.. literalinclude:: ../../../samples/testing/integration/src/main.c .. literalinclude:: ../../../samples/subsys/testsuite/integration/src/main.c
:language: c :language: c
:linenos: :linenos: