Commits on Source (26)
-
Jordan Bonser authored
Instead of repeating the same file name for both remote and local paths, a single path can be provided.
99de8c62 -
Alex Tercete authorede0157129
-
Alex Tercete authoredd5b920e2
-
Alex Tercete authoredbec8232e
-
Alex Tercete authored6d82e240
-
Alex Tercete authored2f70a573
-
`Runner.run()` provides `check=False` argument. If `check` is true, and the process exits with a non-zero exit code, a `CalledProcessError` exception will be raised.
555c6482 -
Alex Tercete authored
Instead of making each example a separate Bazel module, make the `examples` folder a Bazel module for simplicity.
-
Alex Tercete authored
-
Alex Tercete authored
-
Alex Tercete authored
-
Sebastian Birunt authored
BREAKING CHANGE: `Runner.run()` returns just the exit code. Runner can redirect stdout and stderr to files.
0707d248 -
Alex Tercete authored
Fixes #70.
-
`labgrid_test` will provide `''` for `program_prefix` if the target is in the root of the Bazel module.
-
Sebastian Birunt authored
Pass more bazel test environment variables.
3d626141 -
Sebastian Birunt authored
Move common names to class variables.
471e5c6d -
Sebastian Birunt authored
Move program runfiles logic from `bazel/labgrid/runner` to `labgrid/run`. It will allow to remove `include_runfiles` from `FileTransfer`.
b61bafb1 -
Sebastian Birunt authored
BREAKING CHANGE This change removes `include_runfiles` from `FileTransfer`. Runfiles are handled explicitly by `labgrid/run`.
d3a205a0 -
Sebastian Birunt authored
Assumption for runfiles location next to binary target to run is not always ture. Location will differ when bazel target is defined as a subpackage, e.g.: `//test/check:test`. Add `--program-runfiles-dir` attribute for the runfiles to look for.
06df427c -
Sebastian Birunt authored
Add tests to verify `labgrid_test.src` target can be defined in separate bazel packages (upper and lower).
38e5fbb6 -
Jordan Bonser authored
The local toolchain no longer has any constraints specified for the target. This means that the `local` labgrid config toolchain is used when no platform is specified on a target.
58f540f8 -
Alex Tercete authored
-
Alex Tercete authored
This is to avoid failures related to `--repo_contents_cache`.
-
Alex Tercete authored
-
Alex Tercete authored
-
Bot authored
# [1.0.0-alpha.3](https://git.gitlab.arm.com/bazel/rules_labgrid/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2025-07-01) ### Bug Fixes * **//labgrid/run:** handle quoted `program_prefix` ([da53a028](https://git.gitlab.arm.com/bazel/rules_labgrid/commit/da53a028b4937ebfeb562b0c30572735e4b907de)) * **examples/docker:** use hermetic Python bootstrapper ([d5b920e2](https://git.gitlab.arm.com/bazel/rules_labgrid/commit/d5b920e2f1781ca41bd1418caa46d3ad05287b8e)) * **examples:** make `bazel test //...` work ([4761a03f](https://git.gitlab.arm.com/bazel/rules_labgrid/commit/4761a03f1ba1cfb016de60d3f2926b50fbf25d62)) * make it possible to provide one path in `FileTransfer` ([99de8c62](https://git.gitlab.arm.com/bazel/rules_labgrid/commit/99de8c622b70d6e80fc0a85710f84345f3d0e4d8)) * runfiles location ([06df427c](https://git.gitlab.arm.com/bazel/rules_labgrid/commit/06df427c2207f7c89f68dd9e9b4a5bd9f1efe78e)) ### Features * make `device` constraint setting public ([bec8232e](https://git.gitlab.arm.com/bazel/rules_labgrid/commit/bec8232eff2de4467305115f79b3095a24f2ff37)) * **runner:** check non-zero exit code ([555c6482](https://git.gitlab.arm.com/bazel/rules_labgrid/commit/555c6482d0ad51be55b8414616222879e6927209)) * **runner:** stdout and stderr ([0707d248](https://git.gitlab.arm.com/bazel/rules_labgrid/commit/0707d248170448587ac2321ccb3d8f8db0751514)) * use local toolchain as default ([58f540f8](https://git.gitlab.arm.com/bazel/rules_labgrid/commit/58f540f897af34d520d2301723088b5dcb10eaf9)) ### BREAKING CHANGES * **runner:** `Runner.run()` returns just the exit code. Runner can redirect stdout and stderr to files.
Showing
- .bazelignore 1 addition, 0 deletions.bazelignore
- .gitlab-ci.yml 20 additions, 9 deletions.gitlab-ci.yml
- CHANGELOG.md 23 additions, 0 deletionsCHANGELOG.md
- MODULE.bazel 10 additions, 2 deletionsMODULE.bazel
- MODULE.bazel.lock 1 addition, 1 deletionMODULE.bazel.lock
- bazel/labgrid/runner/runner.py 47 additions, 32 deletionsbazel/labgrid/runner/runner.py
- e2e/MODULE.bazel.lock 47 additions, 1130 deletionse2e/MODULE.bazel.lock
- e2e/binary/BUILD.bazel 0 additions, 1 deletione2e/binary/BUILD.bazel
- e2e/genrule/BUILD.bazel 0 additions, 1 deletione2e/genrule/BUILD.bazel
- e2e/run/BUILD.bazel 19 additions, 9 deletionse2e/run/BUILD.bazel
- e2e/run/binary/BUILD.bazel 0 additions, 1 deletione2e/run/binary/BUILD.bazel
- e2e/test/BUILD.bazel 8 additions, 8 deletionse2e/test/BUILD.bazel
- e2e/test/subdir/BUILD.bazel 18 additions, 0 deletionse2e/test/subdir/BUILD.bazel
- e2e/test/subdir/hello.py 18 additions, 0 deletionse2e/test/subdir/hello.py
- e2e/test/subdir/hello.txt 1 addition, 0 deletionse2e/test/subdir/hello.txt
- examples/.bazelrc 9 additions, 0 deletionsexamples/.bazelrc
- examples/.bazelrc.ci 37 additions, 0 deletionsexamples/.bazelrc.ci
- examples/.bazelversion 0 additions, 0 deletionsexamples/.bazelversion
- examples/MODULE.bazel 7 additions, 7 deletionsexamples/MODULE.bazel
- examples/MODULE.bazel.lock 4290 additions, 0 deletionsexamples/MODULE.bazel.lock
This diff is collapsed.
e2e/test/subdir/BUILD.bazel
0 → 100644
e2e/test/subdir/hello.py
0 → 100644
e2e/test/subdir/hello.txt
0 → 100644
examples/.bazelrc
0 → 100644
examples/.bazelrc.ci
0 → 100644
examples/MODULE.bazel.lock
0 → 100644
This diff is collapsed.