Skip to content
Snippets Groups Projects
Commit 2736fdd6 authored by Emanuele Aina's avatar Emanuele Aina
Browse files

tracker: Rely on the preinstalled multimedia demopack


The current test downloads from a legacy location the same contents already
shipped by the official multimedia demopack under `/home/shared`.

On the target and SDK images it is wasteful and silly, as those exact contents
come pre-installed.

On the minimal images this fails since there's not enough storage.

On the base SDK image the decision to not install the multimedia demopack was
taken explicitly as it is not relevant there.

Change the test to only run on the images where it is appropriate and rely on
the multimedia demopack being available out-of-the-box in `/home/shared`.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 898afbd3
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,7 @@ metadata:
name: apparmor-tracker
format: "Apertis Test Definition 1.0"
image-types:
minimal: [ armhf-internal, armhf, arm64, amd64 ]
target: [ armhf-internal, amd64 ]
basesdk: [ amd64 ]
sdk: [ amd64 ]
image-deployment:
- APT
......@@ -18,11 +16,7 @@ metadata:
of files in the home directory."
pre-conditions:
- "Download the media tarball:"
- $ wget https://people.collabora.com/~araujo/apertis-test-media.tar.bz2
- "Create directory and unpack media in the shared folder."
- $ mkdir -p /home/shared/
- $ tar -jxvf apertis-test-media.tar.bz2 -C /home/shared/
- "Requires the multimedia demopack to be pre-installed on the tested image under /home/shared"
expected:
- "Both tests should report pass and not fail:"
......@@ -49,10 +43,6 @@ install:
- python3
- python3-gi
- wget
steps:
- wget https://people.collabora.com/~araujo/apertis-test-media.tar.bz2
- mkdir -p /home/shared/
- tar -jxvf apertis-test-media.tar.bz2 -C /home/shared/
git-repos:
- url: https://gitlab.apertis.org/infrastructure/apertis-tests.git
branch: 'apertis/v2019dev0'
......
......@@ -2,9 +2,7 @@ metadata:
name: tracker-indexing-local-storage
format: "Apertis Test Definition 1.0"
image-types:
minimal: [ armhf-internal, armhf, arm64, amd64 ]
target: [ armhf-internal, amd64 ]
basesdk: [ amd64 ]
sdk: [ amd64 ]
image-deployment:
- APT
......@@ -15,11 +13,7 @@ metadata:
maintainer: "Apertis Project"
pre-conditions:
- "Download the media tarball:"
- $ wget https://people.collabora.com/~araujo/apertis-test-media.tar.bz2
- "Create directory and unpack media in the shared folder."
- $ mkdir -p /home/shared/
- $ tar -jxvf apertis-test-media.tar.bz2 -C /home/shared/
- "Requires the multimedia demopack to be pre-installed on the tested image under /home/shared"
expected:
- "The output should be similar to that:"
......@@ -56,10 +50,6 @@ install:
- python3-gi
- tracker
- wget
steps:
- wget https://people.collabora.com/~araujo/apertis-test-media.tar.bz2
- mkdir -p /home/shared/
- tar -jxvf apertis-test-media.tar.bz2 -C /home/shared/
git-repos:
- url: https://gitlab.apertis.org/infrastructure/apertis-tests.git
branch: 'apertis/v2019dev0'
......
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