Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: cros_run_unit_tests

Issue 2818021: Adding blacklist support for unit tests and blacklisting currently failing tests. (Closed) Base URL: ssh://git@chromiumos-git//crosutils.git
Patch Set: Power_manager works. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | unit_test_black_list.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cros_run_unit_tests
diff --git a/cros_run_unit_tests b/cros_run_unit_tests
index b4179af18c8927cee3e9ed0dfbd3c1a6f54de2b2..9c5417fa00513de1359fa27cc0bf633ffc7b883c 100755
--- a/cros_run_unit_tests
+++ b/cros_run_unit_tests
@@ -63,7 +63,13 @@ else
PACKAGE_LIST=$( ./get_package_list chromeos | egrep '^chromeos-base' )
fi
+BLACK_LIST_FILE="$(dirname "$0")/unit_test_black_list.txt"
+
for package in ${PACKAGE_LIST}; do
+ if grep -xq "${package}" "${BLACK_LIST_FILE}"; then
+ warn "Skipping package ${package} since it is blacklisted."
+ continue
+ fi
EBUILD_PATH=$( equery-${FLAGS_board} which ${package} 2> /dev/null )
if [ -n "${EBUILD_PATH}" ]; then
if check_src_test "${EBUILD_PATH}"; then
« no previous file with comments | « no previous file | unit_test_black_list.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698