bazel-skylib/tests
László Csomor 1b28145983
maprule: use ctx.resolve_tools (#117)
In this PR:

- In the _resolve_locations function: use the
  Bash-less ctx.resolve_tools function to resolve
  the runfiles manifests and inputs of tools,
  instead of using ctx.resolve_command for
  the same purpose.

- In the _custom_envmap function: no longer
  resolve $(location) references when
  creating the envvars from custom_env, because
  those references were already resolved in
  _resolve_locations.

The ctx.resolve_tools() method was added in this
PR: https://github.com/bazelbuild/bazel/pull/7139
See design doc there.
2019-03-04 11:04:01 +01:00
..
BUILD Add analysis_test rule 2019-02-19 15:16:36 -05:00
analysis_test_test.sh Add analysis_test rule 2019-02-19 15:16:36 -05:00
build_test_tests.bzl Some doc fixes (#100) 2019-01-25 14:51:01 -05:00
collections_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
dicts_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
maprule_tests.bzl maprule: use ctx.resolve_tools (#117) 2019-03-04 11:04:01 +01:00
new_sets_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
partial_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
paths_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
selects_tests.bzl Run buildifier --lint=fix over the files. (#88) 2019-01-02 14:47:44 -08:00
sets_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
shell_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
structs_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
types_tests.bzl Add `types.is_depset`. (#105) 2019-02-08 18:37:26 +01:00
unittest.bash Add basic shell testing for unittest.bzl (#108) 2019-02-11 17:18:56 -05:00
unittest_test.sh Add analysis-test test framework (#110) 2019-02-14 16:54:42 -05:00
unittest_tests.bzl fix a number of warnings found by Starlark analyzer (#114) 2019-02-22 17:44:48 -05:00
versions_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00