Skip to content

Commit 4e36dd2

Browse files
committed
lava: Support sharding for LTP
Some of the LTP suites (especially the syscalls suite) are extremely large and take a very long time to run, in order to make jobs more managable the test-definitions integration for LTP supports sharding the suites. Add support for this to our template. Signed-off-by: Mark Brown <[email protected]>
1 parent 25691ae commit 4e36dd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/runtime/tests/ltp.jinja2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010
name: {{ node.name }}
1111
parameters:
1212
TST_CMDFILES: "{{ tst_cmdfiles|default('') }}"
13+
SHARD_NUMBER: {{ shard_number|default(1) }}
14+
SHARD_INDEX: {{ shard_index|default(1) }}
1315
SKIP_INSTALL: "{{ skip_install }}"
1416
SKIPFILE: {{ skipfile }}

0 commit comments

Comments
 (0)