From 8cd12dab76a789e3b84fbaddf511cade8caf1629 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 17 Jan 2023 02:03:35 +0100 Subject: [PATCH] Fixes from the battlefield --- lib/parse_tests_toml.py | 2 +- lib/tests_coordination.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/parse_tests_toml.py b/lib/parse_tests_toml.py index 88e550b..41280d6 100644 --- a/lib/parse_tests_toml.py +++ b/lib/parse_tests_toml.py @@ -20,7 +20,7 @@ def generate_test_list_base(test_manifest, default_install_args, is_webapp, is_m continue install_args = copy.copy(default_install_args) - install_args.update(test_suite.get("args")) + install_args.update(test_suite.get("args", {})) default_meta = { "preinstall_template": test_suite.get("preinstall_template", ""), diff --git a/lib/tests_coordination.sh b/lib/tests_coordination.sh index 809088c..eaa63a6 100644 --- a/lib/tests_coordination.sh +++ b/lib/tests_coordination.sh @@ -33,7 +33,7 @@ run_all_tests() { tests_toml="$package_path/tests.toml" if [ -e "$tests_toml" ] then - python3 "./lib/parse_tests_toml.py" "$package_path" "$TEST_CONTEXT" + python3 "./lib/parse_tests_toml.py" "$package_path" "$TEST_CONTEXT/tests" else # Parse the check_process only if it's exist check_process="$package_path/check_process"