diff options
Diffstat (limited to 'tests/rpm/tree_artifacts/BUILD')
-rw-r--r-- | tests/rpm/tree_artifacts/BUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/rpm/tree_artifacts/BUILD b/tests/rpm/tree_artifacts/BUILD index 04d7d8e..d295a1a 100644 --- a/tests/rpm/tree_artifacts/BUILD +++ b/tests/rpm/tree_artifacts/BUILD @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_python//python:defs.bzl", "py_test") load( "//pkg:mappings.bzl", "REMOVE_BASE_DIRECTORY", @@ -22,7 +23,6 @@ load( ) load("//pkg:rpm.bzl", "pkg_rpm") load("//tests/util:defs.bzl", "directory") -load("@rules_python//python:defs.bzl", "py_test") ############################################################################ # Test handling of directory outputs @@ -44,6 +44,7 @@ py_test( name = "layer_with_files", srcs = ["rpm_contents_vs_manifest_test.py"], data = [":layer_with_files_test_data"], + env = {"TEST_RPM": "test_dirs_rpm-1.1.1-2222.noarch.rpm"}, main = "rpm_contents_vs_manifest_test.py", tags = [ "no_windows", # Windows doesn't have rpm(8) or rpmbuild(8) @@ -152,7 +153,7 @@ py_test( name = "layer_with_files_reversed", srcs = ["rpm_contents_vs_manifest_test.py"], data = [":layer_with_files_reversed_test_data"], - env = {"TEST_RPM": "test_dirs_rpm_reversed.rpm"}, + env = {"TEST_RPM": "test_dirs_rpm_reversed-1.1.1-2222.noarch.rpm"}, main = "rpm_contents_vs_manifest_test.py", tags = [ "no_windows", # Windows doesn't have rpm(8) or rpmbuild(8) @@ -204,6 +205,7 @@ py_test( name = "treeartifact_ops", srcs = ["rpm_treeartifact_ops_test.py"], data = [":treeartifact_ops_rpm_test_data"], + env = {"TEST_RPM": "treeartifact_ops_rpm-1.1.1-2222.noarch.rpm"}, main = "rpm_treeartifact_ops_test.py", tags = [ "no_windows", # Windows doesn't have rpm(8) or rpmbuild(8) |