bazel-skylib/tests
UebelAndre 16bf90d4ae
Support modern location expansions for run_binary (#490)
A common point of confusion I see around `run_binary` is that it's hard coded to only expand `$(location` values which in codebases I work in are otherwise completely eliminated due to it being described as "legacy"

> location: A synonym for either execpath or rootpath, depending on the attribute being expanded. This is legacy pre-Starlark behavior and not recommended unless you really know what it does for a particular rule. See [#2475](https://github.com/bazelbuild/bazel/issues/2475#issuecomment-339318016) for details.

If `execpath` is used instead as the appropriate alternative, the rule does no do any expansion and fails the action. This change adds support for expanding all available patterns whenever they're provided.
2024-04-30 17:19:34 -04:00
..
bzl_library Add license blurb to bzl_library_test.bzl and move blurb-less test data files to testdata subdir (#503) 2024-04-25 17:15:11 -04:00
common_settings Add licenses spec to new BUILD file (#485) 2024-01-19 15:14:08 -05:00
copy_directory Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
copy_file Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
diff_test Fix spelling (#445) 2023-04-26 21:55:09 -04:00
expand_template Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
native_binary Make `out` on `native_binary` optional (#474) 2024-04-24 15:40:31 -04:00
run_binary Support modern location expansions for run_binary (#490) 2024-04-30 17:19:34 -04:00
select_file Modify actions in order not to need `toolchain` param (#455) 2023-08-28 14:39:43 -04:00
write_file Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
BUILD Add helper functions for module extensions as `modules` (#456) 2024-04-24 14:53:32 -04:00
analysis_test_test.sh Fix bazel-skylib with Bazel@HEAD (#462) 2023-09-18 11:25:50 -07:00
build_test_tests.bzl Remove outdated rules_cc dependency (#476) 2024-04-24 14:23:39 -04:00
collections_tests.bzl
common_settings_test.sh Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
common_settings_tests.bzl Expose int- and string-valued build settings as Make variables (#440) 2023-08-22 19:41:36 +00:00
dicts_tests.bzl Implement omit and pick dicts functions. (#304) 2022-03-17 16:49:06 -04:00
modules_test.bzl Add helper functions for module extensions as `modules` (#456) 2024-04-24 14:53:32 -04:00
new_sets_tests.bzl
partial_tests.bzl Enable unittest.suite to accept partial calls of test rules (#276) 2020-11-12 21:04:39 -05:00
paths_tests.bzl
selects_tests.bzl Fix spelling (#445) 2023-04-26 21:55:09 -04:00
shell_tests.bzl Use more portable `#!/usr/bin/env bash` shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
structs_tests.bzl
subpackages_tests.bzl Allow `bzl_library` to depend on non-`bzl_library` targets (#495) 2024-04-24 14:16:57 -04:00
types_tests.bzl Modify actions in order not to need `toolchain` param (#455) 2023-08-28 14:39:43 -04:00
unittest.bash Fix spelling (#445) 2023-04-26 21:55:09 -04:00
unittest_test.sh Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
unittest_tests.bzl Add support for 'loading' unit tests, which evaluate a LOADING phase. (#347) 2022-02-10 16:03:48 -05:00
versions_tests.bzl versions: Don't fail on Bazel dev builds (#463) 2023-09-25 18:25:37 -07:00