[autotest] Add a method to extract all allowed test attributes

Read 'suite' in all the test control files and map into suite:<suitename>.
Treat suite:<suitename> as attribute of the test. Create a attribute whitelist
based on all the test control files.

BUG=chromium:475723
TEST=Test locally

Change-Id: Ia744fcd0dfc6197915cc8535790b6db49e62d752
Reviewed-on: https://chromium-review.googlesource.com/265482
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
Commit-Queue: Shuqian Zhao <shuqianz@chromium.org>
Tested-by: Shuqian Zhao <shuqianz@chromium.org>
1 file changed