PTU5KAS/tests
Konrad Weihmann b250c341fb repos: strip dot from layer name
when importing nested layer in combination with the top level layer like

meta-security
meta-security/meta-tpm

one can use

layers:
    .:
    meta-tpm:

in the spec file to import the parent layer.
This leads to the effect that

.
meta-tpm             = "HEAD:<hash>"

is shown in the build console and in /etc/build
when using image-buildinfo.bbclass.
To fix that just strip the trailing dot from each layer name.

Add test to avoid future regressions

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
[Jan: use only a single rstrip call, fix style]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2021-05-05 15:43:58 +02:00
..
test_build_system tests: Stress the build_system property 2020-11-16 11:53:29 +01:00
test_commands tests: Add tests for new for-all-repos & checkout commands 2020-11-17 17:57:59 +01:00
test_environment_variables Introduce KAS_BUILD_DIR environment variable 2021-03-10 07:53:09 +01:00
test_layers repos: strip dot from layer name 2021-05-05 15:43:58 +02:00
test_patch tests: Check patches can still be applied after switching refspec 2020-06-15 19:53:59 +02:00
test_refspec tests: Check refspec switch updates git branch/commit correctly 2020-06-17 07:58:44 +02:00
conftest.py tests: Extract common changedir fixture 2020-11-13 21:00:35 +01:00
test_build_system.py tests: Stress the build_system property 2020-11-16 11:53:29 +01:00
test_commands.py tests: Add tests for new for-all-repos & checkout commands 2020-11-17 17:57:59 +01:00
test_environment_variables.py Introduce KAS_BUILD_DIR environment variable 2021-03-10 07:53:09 +01:00
test_includehandler.py scripts: Remove pylint 2018-12-07 09:55:26 +01:00
test_layers.py repos: strip dot from layer name 2021-05-05 15:43:58 +02:00
test_patch.py tests: Extract common changedir fixture 2020-11-13 21:00:35 +01:00
test_refspec.py tests: Extract common changedir fixture 2020-11-13 21:00:35 +01:00