Skip to content
Snippets Groups Projects
Commit de08e425 authored by Nithin Mysore Nagesh's avatar Nithin Mysore Nagesh Committed by Nithin Mysore Nagesh
Browse files

Enable rhosydd test for sdk and basesdk on lava


- Add group entry: Group entry was missing due to which jobs were not
  generated for rhosydd.

- Modify image-types: Since this test executes unit test cases and
  uses devscripts which is available in development repository, this
should be run only on sdk and basesdk. Separate test to be implemented
for target.

- Add dependencies

Signed-off-by: default avatarMN Nithin <MN.Nithin@in.bosch.com>
parent 804ce0a6
No related branches found
No related tags found
1 merge request!582Enable rhosydd test for sdk and basesdk on lava
Pipeline #657337 passed
metadata:
name: rhosydd
format: "Apertis Test Definition 1.0"
image-types:
basesdk: [ amd64 ]
sdk: [ amd64 ]
image-deployment:
- APT
group: "sdk"
type: unit
exec-type: automated
priority: medium
maintainer: "Apertis Project"
description: "Rhosydd module test."
macro_modules_preconditions: rhosydd
expected:
- "All tests should pass (ok). The output should be similar to:"
- |
>test.name0...ok
test.name1...ok
test.name2...ok
test.nameN...ok
install:
deps:
- devscripts
- gnome-desktop-testing
- libsystemd-dev
- libglib2.0-dev
- libcroesor-0-dev
- libcroesor-0-tests
- librhosydd-0-dev
- librhosydd-0-tests
- rhosydd
- rhosydd-tests
- rhosydd-tools
- rhosydd-mock-backends
steps:
# Download in /tmp directory
- cd /tmp/
- apt source rhosydd
- chown user:user -R /tmp/rhosydd-*
git-repos:
- url: https://gitlab.apertis.org/pkg/apertis-tests.git
branch: 'apertis/v2023'
run:
steps:
- "# Enter test directory:"
- cd apertis-tests
- "# Execute the following commands:"
- common/run-test-in-systemd --timeout=900 --chdir /tmp/rhosydd-* --user=user --name=rhosydd -- sadt --verbose
parse:
pattern: '^(?P<test_case_id>[a-zA-Z0-9_\-\./]+)\s...\s(?P<result>ok|FAIL|SKIP)'
fixupdict:
ok: pass
FAIL: fail
SKIP: skip
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment