Properly support _freon systems in suspend/resume tests.

Sandybridge systems need special handling in suspend/resume tests,
and they are identified by utils.get_board().
Now that we have *_freon names for some of these systems, support
the special handling by removing "_freon" from the board name.

The whitelists in sys_power.py are ok because we use them with
re.search() which still makes the appropriate match in freon systems.
But the _SUSPEND_DELAY dictionary in power_suspend.py requires an
exact match on the key.

BUG=chromium:489949
TEST=power_Resume on lumpy_freon, verify the 5 second suspend is used.

Change-Id: I181a014d5ab330ef8c527870a1e2fb8e449dcfa6
Reviewed-on: https://chromium-review.googlesource.com/277056
Trybot-Ready: Bryan Freed <bfreed@chromium.org>
Tested-by: Bryan Freed <bfreed@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Bryan Freed <bfreed@chromium.org>
Commit-Queue: Bryan Freed <bfreed@chromium.org>
1 file changed