History log of /external/autotest/site_utils/seed_test_attr.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aa7ec8c17b2c52168ec212b926de38de40f04e5c 06-May-2015 Shuqian Zhao <shuqianz@chromium.org> [autotest] Seed ATTRIBUTES in all control files in autotest

The SUITE tag in the control files is being phased out and replaced by
ATTRIBUTES. During the transition period, both SUITE and ATTRIBUTES tags
will coexist, and a pre-upload hook will enforce that they agree with each
other and also ATTRIBUTES are in the attribute whitelist.

BUG=chromium:482749
TEST=Test with the pre-upload hook

Change-Id: I58288ff97c37af0b356115899b0d98e4052bc725
Reviewed-on: https://chromium-review.googlesource.com/269667
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
Commit-Queue: Shuqian Zhao <shuqianz@chromium.org>
Trybot-Ready: Shuqian Zhao <shuqianz@chromium.org>
Tested-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/seed_test_attr.py
d71d2a9fab0378b3f726d057e79378c894871643 29-Apr-2015 Shuqian Zhao <shuqianz@chromium.org> [autotest] Fix the logic error when seed attributes in control files

Basically, at the very early stage of seeding attributes in control files,
ATTRIBUTES should be parsed from SUITE, and therefore the two should match.

When the control file doesn't have 'SUITE' entry, ATTRIBUTES doesn't match
to SUITE only when the ATTRIBUTES is not empty.

Therefore, change the unmatch condition from
not hasattr(control_data, suite) and not control_data.attribtues to
not hasattr(control_data, suite) and control_data.attributes

BUG=chromium:482676
TEST=Test locally

Change-Id: Ib0e1eba1517a1a205a8e1b3bfc922916659efe1d
Reviewed-on: https://chromium-review.googlesource.com/268372
Tested-by: Shuqian Zhao <shuqianz@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Commit-Queue: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/seed_test_attr.py
12f0915c8bd19c1d7135eaa514b983dddb3cf7eb 14-Apr-2015 Shuqian Zhao <shuqianz@chromium.org> [autotest] Seed control files with ATTRIBUTES based on suite membership

Seed ATTRIBUTES based on SUITE in the control files that ATTRIBUTES not match
to SUITE.

BUG=chromium:476153
TEST=Test locally

Change-Id: Ibaaed4529bd4f2f1401bdbaa506e2ed66a17fee4
Reviewed-on: https://chromium-review.googlesource.com/265738
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
Commit-Queue: Shuqian Zhao <shuqianz@chromium.org>
Tested-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/seed_test_attr.py