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

Update test cases for lava integration (SDK)


This commit applies the required changes to the test cases so
they can be executed in LAVA.

The change consists in adding the `git-repos` directive so they
can fetch the tests scripts from LAVA.

This is the SDK group in a serie of commits to integrate
all the tests into LAVA.

Signed-off-by: default avatarLuis Araujo <luis.araujo@collabora.co.uk>
parent a880dd9e
No related branches found
No related tags found
No related merge requests found
......@@ -16,13 +16,18 @@ metadata:
install:
deps:
- chaiwala-tests
- ofono-tests
- ofono-phonesim
- libfolks-ofono25
- chaiwala-tests
- ofono-tests
- ofono-phonesim
- libfolks-ofono25
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 --user=user folks/folks-sync-only.sh
......
......@@ -21,11 +21,16 @@ metadata:
install:
deps:
- bash
- apertis-tests
- bash
- apertis-tests
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 --user=user --basename -- sdk/automated/test-gcov.sh
......
......@@ -20,11 +20,16 @@ metadata:
install:
deps:
- bash
- apertis-tests
- bash
- apertis-tests
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 --user=user --basename -- /usr/share/chaiwala-tests/sdk/automated/test-splint.sh
......
......@@ -18,11 +18,16 @@ metadata:
install:
deps:
- bash
- apertis-tests
- bash
- apertis-tests
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 --basename --user=user -- /usr/share/chaiwala-tests/sdk/automated/test-gdb.sh
......
......@@ -18,11 +18,16 @@ metadata:
install:
deps:
- bash
- apertis-tests
- bash
- apertis-tests
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 --basename --user=user -- /usr/share/chaiwala-tests/sdk/automated/test-strace.sh
......
......@@ -18,11 +18,16 @@ metadata:
install:
deps:
- bash
- apertis-tests
- bash
- apertis-tests
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 --basename --user=user -- /usr/share/chaiwala-tests/sdk/automated/test-valgrind.sh
......
......@@ -21,10 +21,15 @@ metadata:
install:
deps:
- apertis-tests
- apertis-tests
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 --basename --user=user -- sdk/automated/test-gprof.sh
......
......@@ -21,10 +21,15 @@ metadata:
install:
deps:
- apertis-tests
- apertis-tests
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 --basename -- sdk/automated/test-sysprof.sh
......
......@@ -21,19 +21,24 @@ metadata:
install:
deps:
- telepathy-ring
- telepathy-phoenix
- telepathy-mission-control-5
- ofono-tests
- apertis-tests-apparmor-report
- ofono-phonesim
- telepathy-ring
- telepathy-phoenix
- telepathy-mission-control-5
- ofono-tests
- apertis-tests-apparmor-report
- ofono-phonesim
git-repos:
- url: https://gitlab.apertis.org/infrastructure/apertis-tests.git
branch: master
run:
steps:
- "# Execute the following commands:"
- echo -n | sudo tee /var/log/audit/audit.log
- common/run-test-in-systemd --user=user sdk/telepathy-ring-automated.sh
- sudo cat /var/log/audit/audit.log | aa_log_extract_tokens.pl PERMITTING REJECTING
- "# Enter test directory:"
- cd apertis-tests
- "# Execute the following commands:"
- echo -n | sudo tee /var/log/audit/audit.log
- common/run-test-in-systemd --user=user sdk/telepathy-ring-automated.sh
- sudo cat /var/log/audit/audit.log | aa_log_extract_tokens.pl PERMITTING REJECTING
parse:
fixupdict:
......
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