Update cros_run_bvt to support the new BVT suites.
BUG=chromium:398183
TEST=Run the script with various options
CQ-DEPEND=CL:209509
Change-Id: I7e1da59d64cc8bda3e19c8e436087db41d524ea4
Reviewed-on: https://chromium-review.googlesource.com/210080
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Fang Deng <fdeng@chromium.org>
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
diff --git a/cros_run_bvt b/cros_run_bvt
index 6ea39a2..2d2b428 100755
--- a/cros_run_bvt
+++ b/cros_run_bvt
@@ -52,16 +52,16 @@
DUT="$1"
OPTIONS=( --board="${FLAGS_board}" )
-TESTS=( suite:bvt suite:qav )
+TESTS=( suite:bvt-{inline,cq,qav} )
SUITE_CHECK=0
if [ ${FLAGS_smoke} -eq ${FLAGS_TRUE} ]; then
SUITE_CHECK=$(( SUITE_CHECK + 1 ))
- TESTS=( suite:smoke )
+ TESTS=( suite:bvt-inline )
fi
if [ ${FLAGS_commit} -eq ${FLAGS_TRUE} ]; then
SUITE_CHECK=$(( SUITE_CHECK + 1 ))
- TESTS=( suite:bvt_cq )
+ TESTS=( suite:bvt-{inline,cq} )
fi
if [ ${FLAGS_canary} -eq ${FLAGS_TRUE} ]; then
SUITE_CHECK=$(( SUITE_CHECK + 1 ))
@@ -69,7 +69,7 @@
fi
if [ ${FLAGS_labqual} -eq ${FLAGS_TRUE} ]; then
SUITE_CHECK=$(( SUITE_CHECK + 1 ))
- TESTS=( suite:bvt )
+ TESTS=( suite:bvt-{inline,cq} )
if [ ${FLAGS_usbkey} -eq ${FLAGS_TRUE} ]; then
TESTS+=( platform_ServoPowerStateController_USBPluggedin )
else