From 9a8c6ee3b46e55aeb60087a54b3453ed1bbfc5c4 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Fri, 25 Aug 2023 10:12:01 +0200 Subject: [PATCH] testcases: master: template-kselftest: set default revision to '.' Default the revision to '.' if TDEFINITIONS_REVISION is not set. Reported-by: Senthil Kumaran S Signed-off-by: Anders Roxell --- lava_test_plans/testcases/master/template-kselftest.yaml.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lava_test_plans/testcases/master/template-kselftest.yaml.jinja2 b/lava_test_plans/testcases/master/template-kselftest.yaml.jinja2 index dff50623..975dea98 100644 --- a/lava_test_plans/testcases/master/template-kselftest.yaml.jinja2 +++ b/lava_test_plans/testcases/master/template-kselftest.yaml.jinja2 @@ -37,7 +37,7 @@ {% for testname in testnames %} - repository: {{ TEST_DEFINITIONS_REPOSITORY }} from: git - revision: '{{ TDEFINITIONS_REVISION }}' + revision: '{{ TDEFINITIONS_REVISION|default(".") }}' path: automated/linux/kselftest/kselftest.yaml name: kselftest-{{testname|replace('.', '-')}}{{vsyscall_suffix}} parameters: