google / google/xls

Make `dslx_test` capable of obeying Bazel sharding protocol

Open
#345 0 comments 0 reactions 0 assignees View on GitHub
build dslx enhancement
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

See the description of `TEST_SHARD_INDEX` here: https://docs.bazel.build/versions/2.2.0/test-encyclopedia.html#role-of-the-test-runner

For long running tests or many test cases, sharding is useful, and it's reasonably simple to implement Bazel's required protocol. This will allow "shard_count = X" on `dslx_test` build rules.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.