portage_util: drop binutils test hardcode
Now that the ebuild restricts its own tests, we don't need this
special hardcoded hack to disable them.
BUG=None
TEST=`cros_run_unit_tests --board betty --pretend --packages sys-devel/binutils` detects binutils has no tests
Change-Id: Ic22928202d0ba508807fb2f593037f227069c1b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/2111900
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/cros_run_unit_tests.py b/scripts/cros_run_unit_tests.py
index 4bfea42..73bfa98 100644
--- a/scripts/cros_run_unit_tests.py
+++ b/scripts/cros_run_unit_tests.py
@@ -91,7 +91,7 @@
cros_build_lib.AssertInsideChroot()
sysroot = opts.sysroot or cros_build_lib.GetSysroot(opts.board)
- package_blacklist = portage_util.UNITTEST_PACKAGE_BLACKLIST
+ package_blacklist = set()
if opts.package_blacklist:
package_blacklist |= set(opts.package_blacklist.split())