Skip to content
Snippets Groups Projects
Commit 3bf5d11f authored by Luis Araujo's avatar Luis Araujo
Browse files

Add remaining test cases


These test cases originally didn't have a test case page and they are
all automated tests mainly running sanity checks for different services.

Most of them are marked as High priority.

this commit also adds a new SDK test.

Signed-off-by: default avatarLuis Araujo <luis.araujo@collabora.co.uk>
parent cc2109f8
No related branches found
No related tags found
No related merge requests found
metadata:
name: boot-no-crashes
format: "Apertis Test Definition 1.0"
image-type: any
image-arch: any
type: functional
exec-type: automated
priority: high
maintainer: "Apertis Project"
description: "Check that nothing crashed when booting."
expected:
- "The output should show pass."
install:
git-repos:
- url: https://gitlab.apertis.org/infrastructure/apertis-tests.git
branch: master
run:
steps:
- "# Enter test directory:"
- cd apertis-tests
- "# Execute the following command:"
- common/run-test-in-systemd --name=run-test common/boot-no-crashes.sh
parse:
pattern: 'TEST_RESULT:(?P<result>\w+):(?P<test_case_id>[^:]+):'
metadata:
name: dbus-installed-tests
format: "Apertis Test Definition 1.0"
image-type: any
image-arch: any
type: functional
exec-type: automated
priority: high
maintainer: "Apertis Project"
description: "Regression tests for D-Bus."
expected:
- "The output should show pass."
install:
deps:
- busybox
- dbus-tests
- libdbus-1-3-dbgsym
- dbus-tests-dbgsym
- dbus-dbgsym
- mktemp
git-repos:
- url: https://gitlab.apertis.org/infrastructure/apertis-tests.git
branch: master
run:
steps:
- "# Enter test directory:"
- cd apertis-tests
- "# Execute the following commands:"
- common/run-test-in-systemd --user=user --name=as-user --timeout=15min dbus/installed-tests.sh
- common/run-test-in-systemd --name=as-root --timeout=15min dbus/installed-tests.sh
parse:
pattern: 'TEST_RESULT:(?P<result>\w+):(?P<test_case_id>[^:]+):'
metadata:
name: polkit-parsing
format: "Apertis Test Definition 1.0"
image-type: any
image-arch: any
type: functional
exec-type: automated
priority: high
maintainer: "Apertis Project"
description: "Parse polkit policy files"
expected:
- "The output should show pass."
install:
deps:
- telepathy-mission-control-5
- policykit-1
git-repos:
- url: https://gitlab.apertis.org/infrastructure/apertis-tests.git
branch: master
run:
steps:
- "# Enter test directory:"
- cd apertis-tests
- "# Execute the following commands:"
- common/run-test-in-systemd --name=run-test --timeout=900 common/polkit-parsing.sh
parse:
pattern: 'TEST_RESULT:(?P<result>\w+):(?P<test_case_id>[^:]+):'
metadata:
name: sdk-cross-compilation
format: "Apertis Test Definition 1.0"
image-type: any
image-arch: any
type: functional
exec-type: automated
priority: medium
maintainer: "Apertis Project"
description: "Attempt building bash package in the devroot SDK images ship."
expected:
- "The output should show PASSED."
install:
deps:
- systemd-container
git-repos:
- url: https://gitlab.apertis.org/tests/sdk.git
branch: master
run:
steps:
- "# Enter test directory:"
- cd sdk
- "# Execute the following commands:"
- common/run-test-in-systemd --user=user --basename -- cross/cross-compile.sh /opt/devroot
parse:
fixupdict:
FAILED: fail
PASSED: pass
FAIL: fail
PASS: pass
SKIP: skip
UNKNOWN: unknown
pattern: '^(?P<test_case_id>[a-zA-Z0-9_\-\./]+):\s*(?P<result>PASSED|PASS|pass|FAILED|FAIL|fail|SKIP|skip|UNKNOWN|unknown)$'
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