From 52a7218bd8e35e7f0d5568613dfa36948e1db67b Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Thu, 18 Apr 2024 12:24:08 -0700 Subject: [PATCH] stdlib,tests: Fix test resources entry for to new schema Change-Id: I77c263315d3e7f15df6f7fd83ab4ad9280faf777 --- .../stdlib/resources/refs/suite-checks.json | 20 +++++++++++++++---- .../resources/refs/workload-checks.json | 10 ++++++++-- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/tests/pyunit/stdlib/resources/refs/suite-checks.json b/tests/pyunit/stdlib/resources/refs/suite-checks.json index 7583020292..aa06835a93 100644 --- a/tests/pyunit/stdlib/resources/refs/suite-checks.json +++ b/tests/pyunit/stdlib/resources/refs/suite-checks.json @@ -23,8 +23,14 @@ "description": "Description of workload here", "function": "set_kernel_disk_workload", "resources": { - "kernel": "x86-linux-kernel-5.2.3-example", - "disk-image": "x86-ubuntu-18.04-img-example" + "kernel": { + "id": "x86-linux-kernel-5.2.3-example", + "resource_version": "1.0.0" + }, + "disk-image": { + "id": "x86-ubuntu-18.04-img-example", + "resource_version": "1.0.0" + } }, "additional_params": { "readfile_contents": "echo 'Boot successful'; m5 exit" @@ -40,8 +46,14 @@ "description": "Description of workload here", "function": "set_kernel_disk_workload", "resources": { - "kernel": "x86-linux-kernel-5.2.3-example", - "disk-image": "x86-ubuntu-18.04-img-example" + "kernel": { + "id": "x86-linux-kernel-5.2.3-example", + "resource_version": "1.0.0" + }, + "disk-image": { + "id": "x86-ubuntu-18.04-img-example", + "resource_version": "1.0.0" + } }, "additional_params": { "readfile_contents": "echo 'Boot successful'; m5 exit" diff --git a/tests/pyunit/stdlib/resources/refs/workload-checks.json b/tests/pyunit/stdlib/resources/refs/workload-checks.json index bf954059c5..0daa52269b 100644 --- a/tests/pyunit/stdlib/resources/refs/workload-checks.json +++ b/tests/pyunit/stdlib/resources/refs/workload-checks.json @@ -34,8 +34,14 @@ "description": "Description of workload here", "function": "set_kernel_disk_workload", "resources": { - "kernel": "x86-linux-kernel-5.2.3-example", - "disk-image": "x86-ubuntu-18.04-img-example" + "kernel": { + "id": "x86-linux-kernel-5.2.3-example", + "resource_version": "1.0.0" + }, + "disk-image": { + "id": "x86-ubuntu-18.04-img-example", + "resource_version": "1.0.0" + } }, "additional_params": { "readfile_contents": "echo 'Boot successful'; m5 exit"