Skip to content

Commit 43fb553

Browse files
committed
resources: Update cypress tests
1 parent 614e7c5 commit 43fb553

File tree

10 files changed

+179
-173
lines changed

10 files changed

+179
-173
lines changed

cypress/fixtures/filters.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
{
2-
"documents": [
1+
[
32
{
43
"_id": null,
54
"category": [
@@ -25,4 +24,3 @@
2524
]
2625
}
2726
]
28-
}

cypress/fixtures/getResource.json

Lines changed: 67 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,68 @@
1-
{
2-
"documents": [
3-
{
4-
"_id": "60f6f1a3b3c9a5c6a0f3e7a6",
5-
"category": "workload",
6-
"id": "arm64-ubuntu-20.04-boot",
7-
"description": "A full boot of Ubuntu 20.04 with Linux 5.4.49 for ARM64. It runs an `m5 exit` command when the boot is completed unless the readfile is specified. If specified the readfile will be executed after booting.",
8-
"function": "set_kernel_disk_workload",
9-
"resources": {
10-
"kernel": "arm64-linux-kernel-5.4.49",
11-
"disk_image": "arm64-ubuntu-20.04-img",
12-
"bootloader": "arm64-bootloader-foundation"
13-
},
14-
"additional_params": {},
15-
"architecture": "ARM",
16-
"size": 0,
17-
"tags": [
18-
"arm",
19-
"arm64"
20-
],
21-
"code_examples": [
22-
{
23-
"example": "https://github.com/gem5/gem5/tree/develop/configs/example/gem5_library/arm-ubuntu-run.py",
24-
"tested": true
25-
}
26-
],
27-
"license": "",
28-
"author": [],
29-
"source_url": "",
30-
"resource_version": "1.0.0",
31-
"gem5_versions": [
32-
"23.0"
33-
],
34-
"example_usage": "Workload(\"arm64-ubuntu-20.04-boot\")"
1+
[
2+
{
3+
"_id": "60f6f1a3b3c9a5c6a0f3e7a6",
4+
"category": "workload",
5+
"id": "arm64-ubuntu-20.04-boot",
6+
"description": "A full boot of Ubuntu 20.04 with Linux 5.4.49 for ARM64. It runs an `m5 exit` command when the boot is completed unless the readfile is specified. If specified the readfile will be executed after booting.",
7+
"function": "set_kernel_disk_workload",
8+
"resources": {
9+
"kernel": "arm64-linux-kernel-5.4.49",
10+
"disk_image": "arm64-ubuntu-20.04-img",
11+
"bootloader": "arm64-bootloader-foundation"
3512
},
36-
{
37-
"_id": "60f6f1a3b3c9a5c6a0f3e7a6",
38-
"category": "workload",
39-
"id": "arm64-ubuntu-20.04-boot",
40-
"description": "New version",
41-
"function": "set_kernel_disk_workload",
42-
"resources": {
43-
"kernel": "arm64-linux-kernel-5.4.49",
44-
"disk_image": "arm64-ubuntu-20.04-img",
45-
"bootloader": "arm64-bootloader-foundation"
46-
},
47-
"additional_params": {},
48-
"architecture": "ARM",
49-
"size": 0,
50-
"tags": [
51-
"arm",
52-
"arm64"
53-
],
54-
"code_examples": [
55-
{
56-
"example": "https://github.com/gem5/gem5/tree/develop/configs/example/gem5_library/arm-ubuntu-run.py",
57-
"tested": true
58-
}
59-
],
60-
"license": "",
61-
"author": [],
62-
"source_url": "",
63-
"resource_version": "0.1.0",
64-
"gem5_versions": [
65-
"23.0"
66-
],
67-
"example_usage": "Workload(\"arm64-ubuntu-20.04-boot\")"
68-
}
69-
]
70-
}
13+
"additional_params": {},
14+
"architecture": "ARM",
15+
"size": 0,
16+
"tags": [
17+
"arm",
18+
"arm64"
19+
],
20+
"code_examples": [
21+
{
22+
"example": "https://github.com/gem5/gem5/tree/develop/configs/example/gem5_library/arm-ubuntu-run.py",
23+
"tested": true
24+
}
25+
],
26+
"license": "",
27+
"author": [],
28+
"source_url": "",
29+
"resource_version": "1.0.0",
30+
"gem5_versions": [
31+
"23.0"
32+
],
33+
"example_usage": "Workload(\"arm64-ubuntu-20.04-boot\")"
34+
},
35+
{
36+
"_id": "60f6f1a3b3c9a5c6a0f3e7a6",
37+
"category": "workload",
38+
"id": "arm64-ubuntu-20.04-boot",
39+
"description": "New version",
40+
"function": "set_kernel_disk_workload",
41+
"resources": {
42+
"kernel": "arm64-linux-kernel-5.4.49",
43+
"disk_image": "arm64-ubuntu-20.04-img",
44+
"bootloader": "arm64-bootloader-foundation"
45+
},
46+
"additional_params": {},
47+
"architecture": "ARM",
48+
"size": 0,
49+
"tags": [
50+
"arm",
51+
"arm64"
52+
],
53+
"code_examples": [
54+
{
55+
"example": "https://github.com/gem5/gem5/tree/develop/configs/example/gem5_library/arm-ubuntu-run.py",
56+
"tested": true
57+
}
58+
],
59+
"license": "",
60+
"author": [],
61+
"source_url": "",
62+
"resource_version": "0.1.0",
63+
"gem5_versions": [
64+
"23.0"
65+
],
66+
"example_usage": "Workload(\"arm64-ubuntu-20.04-boot\")"
67+
}
68+
]

cypress/fixtures/getResource2.json

Lines changed: 35 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,35 @@
1-
{
2-
"documents": [
3-
{
4-
"_id": "60f6f1a3b3c9a5c6a0f3e7a6",
5-
"category": "workload",
6-
"id": "arm64-ubuntu-20.04-boot",
7-
"description": "New version",
8-
"function": "set_kernel_disk_workload",
9-
"resources": {
10-
"kernel": "arm64-linux-kernel-5.4.49",
11-
"disk_image": "arm64-ubuntu-20.04-img",
12-
"bootloader": "arm64-bootloader-foundation"
13-
},
14-
"additional_params": {},
15-
"architecture": "ARM",
16-
"size": 0,
17-
"tags": [
18-
"arm",
19-
"arm64"
20-
],
21-
"code_examples": [
22-
{
23-
"example": "https://github.com/gem5/gem5/tree/develop/configs/example/gem5_library/arm-ubuntu-run.py",
24-
"tested": true
25-
}
26-
],
27-
"license": "",
28-
"author": [],
29-
"source_url": "",
30-
"resource_version": "0.1.0",
31-
"gem5_versions": [
32-
"23.0"
33-
],
34-
"example_usage": "Workload(\"arm64-ubuntu-20.04-boot\")"
35-
}
36-
]
37-
}
1+
[
2+
{
3+
"_id": "60f6f1a3b3c9a5c6a0f3e7a6",
4+
"category": "workload",
5+
"id": "arm64-ubuntu-20.04-boot",
6+
"description": "New version",
7+
"function": "set_kernel_disk_workload",
8+
"resources": {
9+
"kernel": "arm64-linux-kernel-5.4.49",
10+
"disk_image": "arm64-ubuntu-20.04-img",
11+
"bootloader": "arm64-bootloader-foundation"
12+
},
13+
"additional_params": {},
14+
"architecture": "ARM",
15+
"size": 0,
16+
"tags": [
17+
"arm",
18+
"arm64"
19+
],
20+
"code_examples": [
21+
{
22+
"example": "https://github.com/gem5/gem5/tree/develop/configs/example/gem5_library/arm-ubuntu-run.py",
23+
"tested": true
24+
}
25+
],
26+
"license": "",
27+
"author": [],
28+
"source_url": "",
29+
"resource_version": "0.1.0",
30+
"gem5_versions": [
31+
"23.0"
32+
],
33+
"example_usage": "Workload(\"arm64-ubuntu-20.04-boot\")"
34+
}
35+
]

cypress/fixtures/mongo.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"documents": []
3-
}
1+
[]

cypress/fixtures/search25.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,5 +983,6 @@
983983
"ver_latest": "23.0",
984984
"totalCount": 905
985985
}
986-
]
986+
],
987+
"totalCount": 905
987988
}

cypress/fixtures/searchArchitecture.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,5 +340,6 @@
340340
"ver_latest": "23.0",
341341
"totalCount": 900
342342
}
343-
]
343+
],
344+
"totalCount": 900
344345
}

cypress/fixtures/searchDiskimage.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,5 +377,6 @@
377377
"ver_latest": "23.0",
378378
"totalCount": 10
379379
}
380-
]
380+
],
381+
"totalCount": 10
381382
}

cypress/fixtures/searchExact.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,5 +389,6 @@
389389
"ver_latest": "23.0",
390390
"totalCount": 905
391391
}
392-
]
392+
],
393+
"totalCount": 905
393394
}

cypress/fixtures/searchTags.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,5 +350,6 @@
350350
"ver_latest": "23.0",
351351
"totalCount": 888
352352
}
353-
]
353+
],
354+
"totalCount": 888
354355
}

0 commit comments

Comments
 (0)