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

Unified Diff: src/scripts/build_autotest.sh

Issue 1217005: fix autotest scripts for board variants (Closed)
Patch Set: Created 10 years, 9 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 | « src/scripts/autotest_lib.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/build_autotest.sh
diff --git a/src/scripts/build_autotest.sh b/src/scripts/build_autotest.sh
index 5b929ac980adec5f218819b0b5aa1bb798570fd0..d96cd8e33361b32404679f321993a03b8c6c21dc 100755
--- a/src/scripts/build_autotest.sh
+++ b/src/scripts/build_autotest.sh
@@ -52,7 +52,8 @@ do
done
# Load the overlay specific blacklist and remove any matching tests.
-PRIMARY_BOARD_OVERLAY="${SRC_ROOT}/overlays/overlay-${FLAGS_board}"
+BOARD_BASENAME=$(echo "${FLAGS_board}" |cut -d '_' -f 1)
+PRIMARY_BOARD_OVERLAY="${SRC_ROOT}/overlays/overlay-${BOARD_BASENAME}"
BLACKLIST_FILE="${PRIMARY_BOARD_OVERLAY}/autotest-blacklist"
if [ -r "${BLACKLIST_FILE}" ]
then
« no previous file with comments | « src/scripts/autotest_lib.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698