runtime_probe: Adding runtime_probe_perbuild test suite

The test suite will run tast tests of runtime probe on every new build.

BUG=b:147203067,chromium:1053399
TEST=test_that --autotest_dir ~/trunk/src/third_party/autotest/files/ \
     --board=${BOARD} server suite:runtime_probe_perbuild

Change-Id: Ia3556d70af51a4bf6b565775563fb63b4fb255bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2068069
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
Commit-Queue: Clark Chung <ckclark@chromium.org>
Tested-by: Clark Chung <ckclark@chromium.org>
diff --git a/test_suites/control.runtime_probe_perbuild b/test_suites/control.runtime_probe_perbuild
new file mode 100644
index 0000000..61c3d3c
--- /dev/null
+++ b/test_suites/control.runtime_probe_perbuild
@@ -0,0 +1,43 @@
+# Copyright 2020 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+AUTHOR = "ckclark@chromium.org, chromeos-runtime-probe@google.com"
+NAME = "runtime_probe_perbuild"
+PURPOSE = "Runtime Probe tests"
+
+TIME = "SHORT"
+TEST_CATEGORY = "Functional"
+TEST_CLASS = "suite"
+TEST_TYPE = "Server"
+
+DOC = """
+ChromeOS Runtime Probe tests.
+
+This suite is used as an entry point for runtime_probe_perbuild, which passes
+cros labels in host info store as references to runtime probe tast tests for
+comparison with probed component names.
+"""
+
+import common
+from autotest_lib.server.cros.dynamic_suite import dynamic_suite
+
+
+# Values specified in this bug template will override default values when
+# filing bugs on tests that are a part of this suite. If left unspecified
+# the bug filer will fallback to its defaults.
+_BUG_TEMPLATE = {
+    'labels': ['Type-Bug', 'Cros-Runtime-Probe-Test'],
+    'owner': 'ckclark@chromium.org',
+    'cc': ['chromeos-runtime-probe@google.com']
+}
+
+args_dict['max_runtime_mins'] = 10
+args_dict['timeout_mins'] = 10
+args_dict['file_bugs'] = True
+args_dict['name'] = 'runtime_probe_perbuild'
+args_dict['job'] = job
+args_dict['add_experimental'] = True
+args_dict['bug_template'] = _BUG_TEMPLATE
+
+dynamic_suite.reimage_and_run(**args_dict)