aboutsummaryrefslogtreecommitdiff
path: root/tests/aiet/test_resources/systems
diff options
context:
space:
mode:
Diffstat (limited to 'tests/aiet/test_resources/systems')
-rw-r--r--tests/aiet/test_resources/systems/system1/aiet-config.json35
-rw-r--r--tests/aiet/test_resources/systems/system1/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/systems/system1/system_artifact/dummy.txt2
-rw-r--r--tests/aiet/test_resources/systems/system2/aiet-config.json32
-rw-r--r--tests/aiet/test_resources/systems/system2/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/systems/system3/readme.txt4
-rw-r--r--tests/aiet/test_resources/systems/system4/aiet-config.json19
-rw-r--r--tests/aiet/test_resources/systems/system4/aiet-config.json.license3
8 files changed, 101 insertions, 0 deletions
diff --git a/tests/aiet/test_resources/systems/system1/aiet-config.json b/tests/aiet/test_resources/systems/system1/aiet-config.json
new file mode 100644
index 0000000..4b5dd19
--- /dev/null
+++ b/tests/aiet/test_resources/systems/system1/aiet-config.json
@@ -0,0 +1,35 @@
+[
+ {
+ "name": "System 1",
+ "description": "This is system 1",
+ "build_dir": "build",
+ "data_transfer": {
+ "protocol": "ssh",
+ "username": "root",
+ "password": "root",
+ "hostname": "localhost",
+ "port": "8021"
+ },
+ "commands": {
+ "clean": [
+ "echo 'clean'"
+ ],
+ "build": [
+ "echo 'build'"
+ ],
+ "run": [
+ "echo 'run'"
+ ],
+ "post_run": [
+ "echo 'post_run'"
+ ],
+ "deploy": [
+ "echo 'deploy'"
+ ]
+ },
+ "user_params": {
+ "build": [],
+ "run": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/systems/system1/aiet-config.json.license b/tests/aiet/test_resources/systems/system1/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/systems/system1/aiet-config.json.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+
+SPDX-License-Identifier: Apache-2.0
diff --git a/tests/aiet/test_resources/systems/system1/system_artifact/dummy.txt b/tests/aiet/test_resources/systems/system1/system_artifact/dummy.txt
new file mode 100644
index 0000000..487e9d8
--- /dev/null
+++ b/tests/aiet/test_resources/systems/system1/system_artifact/dummy.txt
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+SPDX-License-Identifier: Apache-2.0
diff --git a/tests/aiet/test_resources/systems/system2/aiet-config.json b/tests/aiet/test_resources/systems/system2/aiet-config.json
new file mode 100644
index 0000000..a9e0eb3
--- /dev/null
+++ b/tests/aiet/test_resources/systems/system2/aiet-config.json
@@ -0,0 +1,32 @@
+[
+ {
+ "name": "System 2",
+ "description": "This is system 2",
+ "build_dir": "build",
+ "data_transfer": {
+ "protocol": "ssh",
+ "username": "root",
+ "password": "root",
+ "hostname": "localhost",
+ "port": "8021"
+ },
+ "commands": {
+ "clean": [
+ "echo 'clean'"
+ ],
+ "build": [
+ "echo 'build'"
+ ],
+ "run": [
+ "echo 'run'"
+ ],
+ "post_run": [
+ "echo 'post_run'"
+ ]
+ },
+ "user_params": {
+ "build": [],
+ "run": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/systems/system2/aiet-config.json.license b/tests/aiet/test_resources/systems/system2/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/systems/system2/aiet-config.json.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+
+SPDX-License-Identifier: Apache-2.0
diff --git a/tests/aiet/test_resources/systems/system3/readme.txt b/tests/aiet/test_resources/systems/system3/readme.txt
new file mode 100644
index 0000000..aba5a9c
--- /dev/null
+++ b/tests/aiet/test_resources/systems/system3/readme.txt
@@ -0,0 +1,4 @@
+SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+SPDX-License-Identifier: Apache-2.0
+
+This system does not have the json configuration file
diff --git a/tests/aiet/test_resources/systems/system4/aiet-config.json b/tests/aiet/test_resources/systems/system4/aiet-config.json
new file mode 100644
index 0000000..295e00f
--- /dev/null
+++ b/tests/aiet/test_resources/systems/system4/aiet-config.json
@@ -0,0 +1,19 @@
+[
+ {
+ "name": "System 4",
+ "description": "This is system 4",
+ "build_dir": "build",
+ "data_transfer": {
+ "protocol": "local"
+ },
+ "commands": {
+ "run": [
+ "echo {application.name}",
+ "cat {application.commands.run:0}"
+ ]
+ },
+ "user_params": {
+ "run": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/systems/system4/aiet-config.json.license b/tests/aiet/test_resources/systems/system4/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/systems/system4/aiet-config.json.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+
+SPDX-License-Identifier: Apache-2.0