From e560b92f838abffcb70ef5583334da42577887b0 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Thu, 19 Oct 2023 14:33:41 +0200 Subject: [PATCH 1/2] testcases: template-sysbench: remove unneeded defaults These defaults gets set in the template-master.jinja2 file, so no need to set them here to. Signed-off-by: Anders Roxell --- lava_test_plans/testcases/master/template-sysbench.yaml.jinja2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/lava_test_plans/testcases/master/template-sysbench.yaml.jinja2 b/lava_test_plans/testcases/master/template-sysbench.yaml.jinja2 index 96bdab1d..d793b420 100644 --- a/lava_test_plans/testcases/master/template-sysbench.yaml.jinja2 +++ b/lava_test_plans/testcases/master/template-sysbench.yaml.jinja2 @@ -1,7 +1,5 @@ {% extends "testcases/master/template-master.jinja2" %} -{% set KERNEL_BRANCH = KERNEL_BRANCH|default("") %} -{% set OS_INFO = OS_INFO|default("") %} {% set LAVA_TEST_NAME_SUFFIX = LAVA_TEST_NAME_SUFFIX|default("") %} {% set test_name = "sysbench-" + testnames|join('-') + LAVA_TEST_NAME_SUFFIX %} From 3fc3368d639d0feeb42be04ba9801dad392c996e Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Thu, 19 Oct 2023 14:34:56 +0200 Subject: [PATCH 2/2] testcases: template-ltp: remove unneeded default The variable 'OS_INFO' gets a default set here, but it's enough with that the default get set in the template-master.jinja2 file. Signed-off-by: Anders Roxell --- lava_test_plans/testcases/master/template-ltp.yaml.jinja2 | 1 - 1 file changed, 1 deletion(-) diff --git a/lava_test_plans/testcases/master/template-ltp.yaml.jinja2 b/lava_test_plans/testcases/master/template-ltp.yaml.jinja2 index ec73c1db..b3930bdb 100644 --- a/lava_test_plans/testcases/master/template-ltp.yaml.jinja2 +++ b/lava_test_plans/testcases/master/template-ltp.yaml.jinja2 @@ -1,6 +1,5 @@ {% extends "testcases/master/template-master.jinja2" %} -{% set OS_INFO = OS_INFO|default("") %} {% set LAVA_TEST_NAME_SUFFIX = LAVA_TEST_NAME_SUFFIX|default("") %} {% set test_target_redirect_to_kmsg = test_target_redirect_to_kmsg|default(true) %}