Skip to content
Snippets Groups Projects
Commit feaf877b authored by Siva Krishna Prasad Chinthalapudi's avatar Siva Krishna Prasad Chinthalapudi
Browse files
parent 92db53f3
No related branches found
No related tags found
1 merge request!523Enable rhosydd testcase on lava for v2022
Pipeline #545413 passed
metadata:
name: rhosydd
format: "Apertis Test Definition 1.0"
image-types:
target: [ armhf-internal, armhf, amd64 ]
sdk: [ amd64 ]
image-deployment:
- APT
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:
- 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/v2022'
run:
steps:
- "# Enter test directory:"
- cd apertispro-tests
- "# Execute the following commands:"
- systemctl start rhosydd-mock-backend.service
- systemctl start rhosydd-speedo-backend.service
- 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