From e194ed8e9d9a7806707cd16f1d9bfba425e5094b Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Thu, 24 Nov 2016 15:07:32 -0500 Subject: [PATCH] Lava: Move dependencies to test case definitions This prevents the installation large python packages unnecessarily in the cases of kvm tests for example. Signed-off-by: Francis Deslauriers --- lava/baremetal-tests/failing-close.yml | 3 +++ lava/baremetal-tests/failing-open-efault.yml | 3 +++ lava/baremetal-tests/failing-open-enoent.yml | 3 +++ scripts/lttng-baremetal-tests/lava-submit.py | 3 +-- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lava/baremetal-tests/failing-close.yml b/lava/baremetal-tests/failing-close.yml index 99ebc37..17df303 100644 --- a/lava/baremetal-tests/failing-close.yml +++ b/lava/baremetal-tests/failing-close.yml @@ -6,6 +6,9 @@ params: JENKINS_JOBNAME: "default jobname" install: + deps: + - python3-pandas + - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git destination: benchmarks diff --git a/lava/baremetal-tests/failing-open-efault.yml b/lava/baremetal-tests/failing-open-efault.yml index ece0c8f..d560d6a 100644 --- a/lava/baremetal-tests/failing-open-efault.yml +++ b/lava/baremetal-tests/failing-open-efault.yml @@ -6,6 +6,9 @@ params: JENKINS_JOBNAME: "default jobname" install: + deps: + - python3-pandas + - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git destination: benchmarks diff --git a/lava/baremetal-tests/failing-open-enoent.yml b/lava/baremetal-tests/failing-open-enoent.yml index 31c4a29..583728e 100644 --- a/lava/baremetal-tests/failing-open-enoent.yml +++ b/lava/baremetal-tests/failing-open-enoent.yml @@ -6,6 +6,9 @@ params: JENKINS_JOBNAME: "default jobname" install: + deps: + - python3-pandas + - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git destination: benchmarks diff --git a/scripts/lttng-baremetal-tests/lava-submit.py b/scripts/lttng-baremetal-tests/lava-submit.py index f9c7f06..e528f9d 100644 --- a/scripts/lttng-baremetal-tests/lava-submit.py +++ b/scripts/lttng-baremetal-tests/lava-submit.py @@ -113,8 +113,7 @@ def get_boot_cmd(): def get_config_cmd(build_device): packages=['bsdtar', 'psmisc', 'wget', 'python3', 'python3-pip', \ 'libglib2.0-dev', 'libffi-dev', 'elfutils', 'libdw-dev', \ - 'libelf-dev', 'libmount-dev', 'libxml2', 'python3-pandas', \ - 'python3-numpy'] + 'libelf-dev', 'libmount-dev', 'libxml2'] command = OrderedDict({ 'command': 'lava_command_run', 'parameters': { -- 2.34.1