bazel-skylib/tests
Nick Gooding 8a6ab72c6e
Stop hardcoding runfiles prefix (#402)
bazelbuild/bazel@6a8ddb7 changed the prefix for runfiles from the main
repo when Bzlmod is enabled. Because all uses of rlocation were
hardcoded to use "bazel_skylib", tests requiring runfiles stopped
working with Bzlmod enabled. This commit updates calls to rlocation to
instead use the TEST_WORKSPACE env var to get the repo name.
2022-10-15 09:20:48 +11: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 Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
expand_template Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
native_binary Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
run_binary Use more portable `#!/usr/bin/env bash` shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
select_file Add license and copyright notice (#245) 2020-04-15 12:57:49 +02:00
write_file Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
BUILD Add subpackages module to skylib to support new bazel native.subpackages (#348) 2022-04-04 17:56:21 -04:00
analysis_test_test.sh Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
build_test_tests.bzl Address lint errors (#254) 2020-06-19 19:49:52 +02:00
collections_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
common_settings_test.sh Stop hardcoding runfiles prefix (#402) 2022-10-15 09:20:48 +11:00
dicts_tests.bzl Implement omit and pick dicts functions. (#304) 2022-03-17 16:49:06 -04:00
new_sets_tests.bzl unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
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 Add absolute path tests for Windows (#230) 2020-02-06 11:54:31 -05:00
selects_tests.bzl Fix linter warnings with new buildifier version. (#349) 2022-02-10 14:50:56 -05: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 unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00
subpackages_tests.bzl Add copy_directory rule (#366) 2022-06-01 09:58:09 +02:00
types_tests.bzl Add types.is_set() to test whether an arbitrary object is a set as defined by new_sets.bzl. (#181) 2019-09-17 10:21:44 -04:00
unittest.bash Allow using python3 for timestamps on macOS and BSD (#362) 2022-04-01 10:00:11 -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 unittest.bzl: supports Windows (#84) 2018-12-04 16:14:08 +01:00