From daf1a12ab9de5156f5b8dcbc350afc8f7124b0e5 Mon Sep 17 00:00:00 2001 From: Luis Araujo <luis.araujo@collabora.co.uk> Date: Fri, 14 Dec 2018 23:28:46 +0800 Subject: [PATCH] Update test case for ade commands tests This commit applies the required changes to the ade test case so it can be executed in LAVA. The change consists in adding the `git-repos` directive so it can fetch the tests scripts from LAVA. Signed-off-by: Luis Araujo <luis.araujo@collabora.co.uk> --- test-cases/ade-commands.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test-cases/ade-commands.yaml b/test-cases/ade-commands.yaml index 65e97eef..1fb49a64 100644 --- a/test-cases/ade-commands.yaml +++ b/test-cases/ade-commands.yaml @@ -13,10 +13,6 @@ metadata: pre-conditions: - "Network connectivity on the DUT as these tests fetch sysroot images over the network." - - "Clone the apertis-tests repository:" - - $ git clone https://git.apertis.org/git/apertis-tests.git - - "Change directory to apertis-tests folder:" - - $ cd apertis-tests expected: - "The automated test should succeed:" @@ -31,8 +27,15 @@ metadata: - | >TEST_RESULT:fail:ade-tests-custom: +install: + git-repos: + - url: https://git.apertis.org/git/apertis-tests.git + branch: master + run: steps: + - "# Enter test directory:" + - cd apertis-tests - "# Run the ade-tests-custom.sh and ade-tests-defaults.sh script from the ade/ directory" - common/run-test-in-systemd --timeout=30min --name=run-test ade/ade-tests-custom.sh -- GitLab