Skip to content

Commit 6066539

Browse files
committed
config: runtime: add initial template for Tast tests
This template ensures the `test_method` variable is set accordingly, and defines the `kernel_url`, `modules_url`, `dtb_url` and `nfsroot` variables in order to use the proper items for booting into ChromeOS. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
1 parent 61e6b05 commit 6066539

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

config/runtime/tast.jinja2

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{%- set boot_commands = 'nfs' %}
2+
{%- set boot_namespace = 'modules' %}
3+
{%- set kernel_url = platform_config.params.flash_kernel.image %}
4+
{%- set modules_url = platform_config.params.flash_kernel.modules %}
5+
{%- if platform_config.dtb %}
6+
{%- set dtb_url = platform_config.params.flash_kernel.dtb %}
7+
{%- endif %}
8+
{%- set nfsroot = platform_config.params.nfsroot %}
9+
10+
{%- set test_method = 'tast' %}
11+
12+
{%- set base_template = 'base/' + runtime + '.jinja2' %}
13+
{%- extends base_template %}

0 commit comments

Comments
 (0)