Halt test running if remote board does not match source board.

When attempting to run tests from one board on another, no clear
error is reported.  Unusual 'autoserv: error:' occurs with no
clear guidance.

Instead notice when the board mismatch occurs (usually because
of a mismatched default board) and notify the user.

If --allow_offline_remote the check is skipped.

BUG=chromium:222871
TEST=(default board is link and remote board is daisy)
TEST=./run_remote_tests.sh --board=daisy --remote=10.42.0.10 \
     client/tests/sleeptest/control [works]
TEST=./run_remote_tests.sh --remote=10.42.0.10 \
     client/tests/sleeptest/control [fails with clear error]
TEST=./run_remote_tests.sh --board=link --remote=10.42.0.10 \
     client/tests/sleeptest/control [fails with clear error]

Change-Id: I138bf7d7adf0bb9b318e369348f1bcf41225e35c
Reviewed-on: https://gerrit.chromium.org/gerrit/46171
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Commit-Queue: Mike Truty <truty@chromium.org>
Tested-by: Mike Truty <truty@chromium.org>
1 file changed