summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraiuto <aiuto@google.com>2022-04-01 11:41:27 -0400
committerGitHub <noreply@github.com>2022-04-01 11:41:27 -0400
commit51d71955952102f31aba2999964a96d6dd50d7fe (patch)
tree2673b9c5f5ec4529ff8913c4547536d4435aa40f
parent247cff36236c378626f879f5badb456dfc0eca65 (diff)
downloadbazelbuild-rules_pkg-51d71955952102f31aba2999964a96d6dd50d7fe.tar.gz
move make_rpm_test to tests/rpm (#542)
-rw-r--r--.bazelci/tests.yml4
-rw-r--r--tests/BUILD10
-rw-r--r--tests/rpm/BUILD10
-rw-r--r--tests/rpm/make_rpm_test.py (renamed from tests/make_rpm_test.py)0
4 files changed, 10 insertions, 14 deletions
diff --git a/.bazelci/tests.yml b/.bazelci/tests.yml
index e250d38..2f7edc4 100644
--- a/.bazelci/tests.yml
+++ b/.bazelci/tests.yml
@@ -48,10 +48,6 @@ win_tests: &win_tests
# rpmbuild(8) is not supported on Windows
- "-//tests/rpm/..."
- "-//pkg/legacy/tests/rpm/..."
- # RPM-related, but not applicable to Windows given the above. Also relies
- # on a Bourne Shell. On other platforms, this exercises a dummy "rpmbuild",
- # so it's OK to keep around.
- - "-//tests:make_rpm_test"
#
# Commmon features by platform
diff --git a/tests/BUILD b/tests/BUILD
index 88aac8c..8221529 100644
--- a/tests/BUILD
+++ b/tests/BUILD
@@ -54,16 +54,6 @@ py_test(
],
)
-py_test(
- name = "make_rpm_test",
- srcs = ["make_rpm_test.py"],
- python_version = "PY3",
- srcs_version = "PY3",
- deps = [
- "//pkg:make_rpm_lib",
- ],
-)
-
#
# Tests for package_file_name
#
diff --git a/tests/rpm/BUILD b/tests/rpm/BUILD
index 941707a..5f91da8 100644
--- a/tests/rpm/BUILD
+++ b/tests/rpm/BUILD
@@ -376,6 +376,16 @@ py_library(
visibility = [":__subpackages__"],
)
+py_test(
+ name = "make_rpm_test",
+ srcs = ["make_rpm_test.py"],
+ python_version = "PY3",
+ srcs_version = "PY3",
+ deps = [
+ "//pkg:make_rpm_lib",
+ ],
+)
+
# RPM content verification tests
py_test(
name = "pkg_rpm_basic_test",
diff --git a/tests/make_rpm_test.py b/tests/rpm/make_rpm_test.py
index cb8608b..cb8608b 100644
--- a/tests/make_rpm_test.py
+++ b/tests/rpm/make_rpm_test.py