aboutsummaryrefslogtreecommitdiff
path: root/tests/aiet/test_resources
diff options
context:
space:
mode:
Diffstat (limited to 'tests/aiet/test_resources')
-rw-r--r--tests/aiet/test_resources/application_config.json96
-rw-r--r--tests/aiet/test_resources/application_config.json.license3
-rw-r--r--tests/aiet/test_resources/applications/application1/aiet-config.json30
-rw-r--r--tests/aiet/test_resources/applications/application1/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/applications/application2/aiet-config.json30
-rw-r--r--tests/aiet/test_resources/applications/application2/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/applications/application3/readme.txt4
-rw-r--r--tests/aiet/test_resources/applications/application4/aiet-config.json35
-rw-r--r--tests/aiet/test_resources/applications/application4/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/applications/application4/hello_app.txt4
-rw-r--r--tests/aiet/test_resources/applications/application5/aiet-config.json160
-rw-r--r--tests/aiet/test_resources/applications/application5/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/applications/readme.txt4
-rw-r--r--tests/aiet/test_resources/hello_world.json54
-rw-r--r--tests/aiet/test_resources/hello_world.json.license3
-rwxr-xr-xtests/aiet/test_resources/scripts/test_backend_run8
-rw-r--r--tests/aiet/test_resources/scripts/test_backend_run_script.sh8
-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
-rw-r--r--tests/aiet/test_resources/tools/tool1/aiet-config.json30
-rw-r--r--tests/aiet/test_resources/tools/tool1/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/tools/tool2/aiet-config.json26
-rw-r--r--tests/aiet/test_resources/tools/tool2/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_empty_config/aiet-config.json1
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_empty_config/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_valid_config/aiet-config.json35
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_valid_config/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_wrong_config1/aiet-config.json2
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_wrong_config1/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_wrong_config2/aiet-config.json30
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_wrong_config2/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_wrong_config3/aiet-config.json35
-rw-r--r--tests/aiet/test_resources/various/applications/application_with_wrong_config3/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/various/systems/system_with_empty_config/aiet-config.json1
-rw-r--r--tests/aiet/test_resources/various/systems/system_with_empty_config/aiet-config.json.license3
-rw-r--r--tests/aiet/test_resources/various/systems/system_with_valid_config/aiet-config.json16
-rw-r--r--tests/aiet/test_resources/various/systems/system_with_valid_config/aiet-config.json.license3
43 files changed, 755 insertions, 0 deletions
diff --git a/tests/aiet/test_resources/application_config.json b/tests/aiet/test_resources/application_config.json
new file mode 100644
index 0000000..2dfcfec
--- /dev/null
+++ b/tests/aiet/test_resources/application_config.json
@@ -0,0 +1,96 @@
+[
+ {
+ "name": "application_1",
+ "description": "application number one",
+ "supported_systems": [
+ "system_1",
+ "system_2"
+ ],
+ "build_dir": "build_dir_11",
+ "commands": {
+ "clean": [
+ "clean_cmd_11"
+ ],
+ "build": [
+ "build_cmd_11"
+ ],
+ "run": [
+ "run_cmd_11"
+ ],
+ "post_run": [
+ "post_run_cmd_11"
+ ]
+ },
+ "user_params": {
+ "run": [
+ {
+ "name": "run_param_11",
+ "values": [],
+ "description": "run param number one"
+ }
+ ],
+ "build": [
+ {
+ "name": "build_param_11",
+ "values": [],
+ "description": "build param number one"
+ },
+ {
+ "name": "build_param_12",
+ "values": [],
+ "description": "build param number two"
+ },
+ {
+ "name": "build_param_13",
+ "values": [
+ "value_1"
+ ],
+ "description": "build param number three with some value"
+ }
+ ]
+ }
+ },
+ {
+ "name": "application_2",
+ "description": "application number two",
+ "supported_systems": [
+ "system_2"
+ ],
+ "build_dir": "build_dir_21",
+ "commands": {
+ "clean": [
+ "clean_cmd_21"
+ ],
+ "build": [
+ "build_cmd_21",
+ "build_cmd_22"
+ ],
+ "run": [
+ "run_cmd_21"
+ ],
+ "post_run": [
+ "post_run_cmd_21"
+ ]
+ },
+ "user_params": {
+ "build": [
+ {
+ "name": "build_param_21",
+ "values": [],
+ "description": "build param number one"
+ },
+ {
+ "name": "build_param_22",
+ "values": [],
+ "description": "build param number two"
+ },
+ {
+ "name": "build_param_23",
+ "values": [],
+ "description": "build param number three"
+ }
+ ],
+ "run": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/application_config.json.license b/tests/aiet/test_resources/application_config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/application_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/applications/application1/aiet-config.json b/tests/aiet/test_resources/applications/application1/aiet-config.json
new file mode 100644
index 0000000..97f0401
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application1/aiet-config.json
@@ -0,0 +1,30 @@
+[
+ {
+ "name": "application_1",
+ "description": "This is application 1",
+ "supported_systems": [
+ {
+ "name": "System 1"
+ }
+ ],
+ "build_dir": "build",
+ "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/applications/application1/aiet-config.json.license b/tests/aiet/test_resources/applications/application1/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application1/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/applications/application2/aiet-config.json b/tests/aiet/test_resources/applications/application2/aiet-config.json
new file mode 100644
index 0000000..e9122d3
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application2/aiet-config.json
@@ -0,0 +1,30 @@
+[
+ {
+ "name": "application_2",
+ "description": "This is application 2",
+ "supported_systems": [
+ {
+ "name": "System 2"
+ }
+ ],
+ "build_dir": "build",
+ "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/applications/application2/aiet-config.json.license b/tests/aiet/test_resources/applications/application2/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application2/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/applications/application3/readme.txt b/tests/aiet/test_resources/applications/application3/readme.txt
new file mode 100644
index 0000000..8c72c05
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application3/readme.txt
@@ -0,0 +1,4 @@
+SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+SPDX-License-Identifier: Apache-2.0
+
+This application does not have json configuration file
diff --git a/tests/aiet/test_resources/applications/application4/aiet-config.json b/tests/aiet/test_resources/applications/application4/aiet-config.json
new file mode 100644
index 0000000..34dc780
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application4/aiet-config.json
@@ -0,0 +1,35 @@
+[
+ {
+ "name": "application_4",
+ "description": "This is application 4",
+ "build_dir": "build",
+ "supported_systems": [
+ {
+ "name": "System 4"
+ }
+ ],
+ "commands": {
+ "build": [
+ "cp ../hello_app.txt . # {user_params:0}"
+ ],
+ "run": [
+ "{application.build_dir}/hello_app.txt"
+ ]
+ },
+ "user_params": {
+ "build": [
+ {
+ "name": "--app",
+ "description": "Sample command param",
+ "values": [
+ "application1",
+ "application2",
+ "application3"
+ ],
+ "default_value": "application1"
+ }
+ ],
+ "run": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/applications/application4/aiet-config.json.license b/tests/aiet/test_resources/applications/application4/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application4/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/applications/application4/hello_app.txt b/tests/aiet/test_resources/applications/application4/hello_app.txt
new file mode 100644
index 0000000..2ec0d1d
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application4/hello_app.txt
@@ -0,0 +1,4 @@
+SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+SPDX-License-Identifier: Apache-2.0
+
+Hello from APP!
diff --git a/tests/aiet/test_resources/applications/application5/aiet-config.json b/tests/aiet/test_resources/applications/application5/aiet-config.json
new file mode 100644
index 0000000..5269409
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application5/aiet-config.json
@@ -0,0 +1,160 @@
+[
+ {
+ "name": "application_5",
+ "description": "This is application 5",
+ "build_dir": "default_build_dir",
+ "supported_systems": [
+ {
+ "name": "System 1",
+ "lock": false
+ },
+ {
+ "name": "System 2"
+ }
+ ],
+ "variables": {
+ "var1": "value1",
+ "var2": "value2"
+ },
+ "lock": true,
+ "commands": {
+ "build": [
+ "default build command"
+ ],
+ "run": [
+ "default run command"
+ ]
+ },
+ "user_params": {
+ "build": [],
+ "run": []
+ }
+ },
+ {
+ "name": "application_5A",
+ "description": "This is application 5A",
+ "supported_systems": [
+ {
+ "name": "System 1",
+ "build_dir": "build_5A",
+ "variables": {
+ "var1": "new value1"
+ }
+ },
+ {
+ "name": "System 2",
+ "variables": {
+ "var2": "new value2"
+ },
+ "lock": true,
+ "commands": {
+ "run": [
+ "run command on system 2"
+ ]
+ }
+ }
+ ],
+ "variables": {
+ "var1": "value1",
+ "var2": "value2"
+ },
+ "build_dir": "build",
+ "commands": {
+ "build": [
+ "default build command"
+ ],
+ "run": [
+ "default run command"
+ ]
+ },
+ "user_params": {
+ "build": [],
+ "run": []
+ }
+ },
+ {
+ "name": "application_5B",
+ "description": "This is application 5B",
+ "supported_systems": [
+ {
+ "name": "System 1",
+ "build_dir": "build_5B",
+ "variables": {
+ "var1": "value for var1 System1",
+ "var2": "value for var2 System1"
+ },
+ "user_params": {
+ "build": [
+ {
+ "name": "--param_5B",
+ "description": "Sample command param",
+ "values": [
+ "value1",
+ "value2",
+ "value3"
+ ],
+ "default_value": "value1",
+ "alias": "param1"
+ }
+ ]
+ }
+ },
+ {
+ "name": "System 2",
+ "variables": {
+ "var1": "value for var1 System2",
+ "var2": "value for var2 System2"
+ },
+ "commands": {
+ "build": [
+ "build command on system 2 with {variables:var1} {user_params:param1}"
+ ],
+ "run": [
+ "run command on system 2"
+ ]
+ },
+ "user_params": {
+ "run": []
+ }
+ }
+ ],
+ "build_dir": "build",
+ "commands": {
+ "build": [
+ "default build command with {variables:var1}"
+ ],
+ "run": [
+ "default run command with {variables:var2}"
+ ]
+ },
+ "user_params": {
+ "build": [
+ {
+ "name": "--param",
+ "description": "Sample command param",
+ "values": [
+ "value1",
+ "value2",
+ "value3"
+ ],
+ "default_value": "value1",
+ "alias": "param1"
+ }
+ ],
+ "run": [],
+ "non_used_command": [
+ {
+ "name": "--not-used",
+ "description": "Not used param anywhere",
+ "values": [
+ "value1",
+ "value2",
+ "value3"
+ ],
+ "default_value": "value1",
+ "alias": "param1"
+ }
+ ]
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/applications/application5/aiet-config.json.license b/tests/aiet/test_resources/applications/application5/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/applications/application5/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/applications/readme.txt b/tests/aiet/test_resources/applications/readme.txt
new file mode 100644
index 0000000..a1f8209
--- /dev/null
+++ b/tests/aiet/test_resources/applications/readme.txt
@@ -0,0 +1,4 @@
+SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+SPDX-License-Identifier: Apache-2.0
+
+Dummy file for test purposes
diff --git a/tests/aiet/test_resources/hello_world.json b/tests/aiet/test_resources/hello_world.json
new file mode 100644
index 0000000..8a9a448
--- /dev/null
+++ b/tests/aiet/test_resources/hello_world.json
@@ -0,0 +1,54 @@
+[
+ {
+ "name": "Hello world",
+ "description": "Dummy application that displays 'Hello world!'",
+ "supported_systems": [
+ "Dummy System"
+ ],
+ "build_dir": "build",
+ "deploy_data": [
+ [
+ "src",
+ "/tmp/"
+ ],
+ [
+ "README",
+ "/tmp/README.md"
+ ]
+ ],
+ "commands": {
+ "clean": [],
+ "build": [],
+ "run": [
+ "echo 'Hello world!'",
+ "ls -l /tmp"
+ ],
+ "post_run": []
+ },
+ "user_params": {
+ "run": [
+ {
+ "name": "--choice-param",
+ "values": [
+ "dummy_value_1",
+ "dummy_value_2"
+ ],
+ "default_value": "dummy_value_1",
+ "description": "Choice param"
+ },
+ {
+ "name": "--open-param",
+ "values": [],
+ "default_value": "dummy_value_4",
+ "description": "Open param"
+ },
+ {
+ "name": "--enable-flag",
+ "default_value": "dummy_value_4",
+ "description": "Flag param"
+ }
+ ],
+ "build": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/hello_world.json.license b/tests/aiet/test_resources/hello_world.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/hello_world.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/scripts/test_backend_run b/tests/aiet/test_resources/scripts/test_backend_run
new file mode 100755
index 0000000..548f577
--- /dev/null
+++ b/tests/aiet/test_resources/scripts/test_backend_run
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+# SPDX-License-Identifier: Apache-2.0
+
+echo "Hello from script"
+>&2 echo "Oops!"
+sleep 100
diff --git a/tests/aiet/test_resources/scripts/test_backend_run_script.sh b/tests/aiet/test_resources/scripts/test_backend_run_script.sh
new file mode 100644
index 0000000..548f577
--- /dev/null
+++ b/tests/aiet/test_resources/scripts/test_backend_run_script.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+# SPDX-License-Identifier: Apache-2.0
+
+echo "Hello from script"
+>&2 echo "Oops!"
+sleep 100
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
diff --git a/tests/aiet/test_resources/tools/tool1/aiet-config.json b/tests/aiet/test_resources/tools/tool1/aiet-config.json
new file mode 100644
index 0000000..067ef7e
--- /dev/null
+++ b/tests/aiet/test_resources/tools/tool1/aiet-config.json
@@ -0,0 +1,30 @@
+[
+ {
+ "name": "tool_1",
+ "description": "This is tool 1",
+ "build_dir": "build",
+ "supported_systems": [
+ {
+ "name": "System 1"
+ }
+ ],
+ "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/tools/tool1/aiet-config.json.license b/tests/aiet/test_resources/tools/tool1/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/tools/tool1/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/tools/tool2/aiet-config.json b/tests/aiet/test_resources/tools/tool2/aiet-config.json
new file mode 100644
index 0000000..6eee9a6
--- /dev/null
+++ b/tests/aiet/test_resources/tools/tool2/aiet-config.json
@@ -0,0 +1,26 @@
+[
+ {
+ "name": "tool_2",
+ "description": "This is tool 2 with no supported systems",
+ "build_dir": "build",
+ "supported_systems": [],
+ "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/tools/tool2/aiet-config.json.license b/tests/aiet/test_resources/tools/tool2/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/tools/tool2/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/various/applications/application_with_empty_config/aiet-config.json b/tests/aiet/test_resources/various/applications/application_with_empty_config/aiet-config.json
new file mode 100644
index 0000000..fe51488
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_empty_config/aiet-config.json
@@ -0,0 +1 @@
+[]
diff --git a/tests/aiet/test_resources/various/applications/application_with_empty_config/aiet-config.json.license b/tests/aiet/test_resources/various/applications/application_with_empty_config/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_empty_config/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/various/applications/application_with_valid_config/aiet-config.json b/tests/aiet/test_resources/various/applications/application_with_valid_config/aiet-config.json
new file mode 100644
index 0000000..ff1cf1a
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_valid_config/aiet-config.json
@@ -0,0 +1,35 @@
+[
+ {
+ "name": "test_application",
+ "description": "This is test_application",
+ "build_dir": "build",
+ "supported_systems": [
+ {
+ "name": "System 4"
+ }
+ ],
+ "commands": {
+ "build": [
+ "cp ../hello_app.txt ."
+ ],
+ "run": [
+ "{application.build_dir}/hello_app.txt"
+ ]
+ },
+ "user_params": {
+ "build": [
+ {
+ "name": "--app",
+ "description": "Sample command param",
+ "values": [
+ "application1",
+ "application2",
+ "application3"
+ ],
+ "default_value": "application1"
+ }
+ ],
+ "run": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/various/applications/application_with_valid_config/aiet-config.json.license b/tests/aiet/test_resources/various/applications/application_with_valid_config/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_valid_config/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/various/applications/application_with_wrong_config1/aiet-config.json b/tests/aiet/test_resources/various/applications/application_with_wrong_config1/aiet-config.json
new file mode 100644
index 0000000..724b31b
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_wrong_config1/aiet-config.json
@@ -0,0 +1,2 @@
+This is not valid json file
+{
diff --git a/tests/aiet/test_resources/various/applications/application_with_wrong_config1/aiet-config.json.license b/tests/aiet/test_resources/various/applications/application_with_wrong_config1/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_wrong_config1/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/various/applications/application_with_wrong_config2/aiet-config.json b/tests/aiet/test_resources/various/applications/application_with_wrong_config2/aiet-config.json
new file mode 100644
index 0000000..1ebb29c
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_wrong_config2/aiet-config.json
@@ -0,0 +1,30 @@
+[
+ {
+ "name": "test_application",
+ "description": "This is test_application",
+ "build_dir": "build",
+ "commands": {
+ "build": [
+ "cp ../hello_app.txt ."
+ ],
+ "run": [
+ "{application.build_dir}/hello_app.txt"
+ ]
+ },
+ "user_params": {
+ "build": [
+ {
+ "name": "--app",
+ "description": "Sample command param",
+ "values": [
+ "application1",
+ "application2",
+ "application3"
+ ],
+ "default_value": "application1"
+ }
+ ],
+ "run": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/various/applications/application_with_wrong_config2/aiet-config.json.license b/tests/aiet/test_resources/various/applications/application_with_wrong_config2/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_wrong_config2/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/various/applications/application_with_wrong_config3/aiet-config.json b/tests/aiet/test_resources/various/applications/application_with_wrong_config3/aiet-config.json
new file mode 100644
index 0000000..410d12d
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_wrong_config3/aiet-config.json
@@ -0,0 +1,35 @@
+[
+ {
+ "name": "test_application",
+ "description": "This is test_application",
+ "build_dir": "build",
+ "supported_systems": [
+ {
+ "anme": "System 4"
+ }
+ ],
+ "commands": {
+ "build": [
+ "cp ../hello_app.txt ."
+ ],
+ "run": [
+ "{application.build_dir}/hello_app.txt"
+ ]
+ },
+ "user_params": {
+ "build": [
+ {
+ "name": "--app",
+ "description": "Sample command param",
+ "values": [
+ "application1",
+ "application2",
+ "application3"
+ ],
+ "default_value": "application1"
+ }
+ ],
+ "run": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/various/applications/application_with_wrong_config3/aiet-config.json.license b/tests/aiet/test_resources/various/applications/application_with_wrong_config3/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/various/applications/application_with_wrong_config3/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/various/systems/system_with_empty_config/aiet-config.json b/tests/aiet/test_resources/various/systems/system_with_empty_config/aiet-config.json
new file mode 100644
index 0000000..fe51488
--- /dev/null
+++ b/tests/aiet/test_resources/various/systems/system_with_empty_config/aiet-config.json
@@ -0,0 +1 @@
+[]
diff --git a/tests/aiet/test_resources/various/systems/system_with_empty_config/aiet-config.json.license b/tests/aiet/test_resources/various/systems/system_with_empty_config/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/various/systems/system_with_empty_config/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/various/systems/system_with_valid_config/aiet-config.json b/tests/aiet/test_resources/various/systems/system_with_valid_config/aiet-config.json
new file mode 100644
index 0000000..20142e9
--- /dev/null
+++ b/tests/aiet/test_resources/various/systems/system_with_valid_config/aiet-config.json
@@ -0,0 +1,16 @@
+[
+ {
+ "name": "Test system",
+ "description": "This is a test system",
+ "build_dir": "build",
+ "data_transfer": {
+ "protocol": "local"
+ },
+ "commands": {
+ "run": []
+ },
+ "user_params": {
+ "run": []
+ }
+ }
+]
diff --git a/tests/aiet/test_resources/various/systems/system_with_valid_config/aiet-config.json.license b/tests/aiet/test_resources/various/systems/system_with_valid_config/aiet-config.json.license
new file mode 100644
index 0000000..9b83bfc
--- /dev/null
+++ b/tests/aiet/test_resources/various/systems/system_with_valid_config/aiet-config.json.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+
+SPDX-License-Identifier: Apache-2.0