From 2d6ec94a2a085e7fa4fc23c4c7dcda3206eec98c Mon Sep 17 00:00:00 2001 From: Dmitrii Agibov Date: Tue, 4 Oct 2022 14:14:47 +0100 Subject: MLIA-580 Fix test that produces untracked files - Create separate test for the application execution, update test application configuration file - Use simple mock object in the test for the backend manager Change-Id: Ia0f7f29d43a55223d7b2fb47348b0779a26e2268 --- .../backends/applications/application4/backend-config.json | 4 +--- tests/test_resources/backends/applications/application4/hello_app.txt | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 tests/test_resources/backends/applications/application4/hello_app.txt (limited to 'tests/test_resources/backends/applications/application4') diff --git a/tests/test_resources/backends/applications/application4/backend-config.json b/tests/test_resources/backends/applications/application4/backend-config.json index d4362be..11017e4 100644 --- a/tests/test_resources/backends/applications/application4/backend-config.json +++ b/tests/test_resources/backends/applications/application4/backend-config.json @@ -12,9 +12,7 @@ ], "commands": { "run": [ - "cp {application.config_dir}/hello_app.txt {system.config_dir}", - "echo '{user_params:0}' > {system.config_dir}/params.txt", - "cat hello_app.txt" + "echo {application.name}" ] }, "user_params": { diff --git a/tests/test_resources/backends/applications/application4/hello_app.txt b/tests/test_resources/backends/applications/application4/hello_app.txt deleted file mode 100644 index 2ec0d1d..0000000 --- a/tests/test_resources/backends/applications/application4/hello_app.txt +++ /dev/null @@ -1,4 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. -SPDX-License-Identifier: Apache-2.0 - -Hello from APP! -- cgit v1.2.1