Added continuous instrumentation tests artifact.
TEST=Verified on moblab.
BUG=None
Change-Id: I97fcc8918ead0f4c85303c6e132123aa10291a97
Reviewed-on: https://chromium-review.googlesource.com/366058
Commit-Ready: Justin Giorgi <jgiorgi@google.com>
Tested-by: Justin Giorgi <jgiorgi@google.com>
Reviewed-by: Ralph Nathan <ralphnathan@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
diff --git a/artifact_info.py b/artifact_info.py
index 9243cc0..2b17563 100644
--- a/artifact_info.py
+++ b/artifact_info.py
@@ -97,6 +97,8 @@
# Zip file of native tests used by Android devices.
ANDROID_NATIVETESTS_ZIP = 'nativetests'
ANDROID_CONTINUOUS_NATIVE_TESTS_ZIP = 'continuous_native_tests'
+ANDROID_CONTINUOUS_INSTRUMENTATION_TESTS_ZIP = (
+ 'continuous_instrumentation_tests')
# Zip file including all target files and images
ANDROID_TARGET_FILES_ZIP = 'target_files'
diff --git a/build_artifact.py b/build_artifact.py
index 586a736..abec2f6 100755
--- a/build_artifact.py
+++ b/build_artifact.py
@@ -58,6 +58,8 @@
ANDROID_CONTROL_FILES = r'[^-]*-autotest_control_files-.*\.tar'
ANDROID_NATIVETESTS_FILE = r'[^-]*-brillo-tests-.*\.zip'
ANDROID_CONTINUOUS_NATIVE_TESTS_FILE = r'[^-]*-continuous_native_tests-.*\.zip'
+ANDROID_CONTINUOUS_INSTRUMENTATION_TESTS_FILE = (
+ r'[^-]*-continuous_instrumentation_tests-.*\.zip')
ANDROID_TARGET_FILES_ZIP = r'[^-]*-target_files-.*\.zip'
ANDROID_DTB_ZIP = r'[^-]*-dtb-.*\.zip'
@@ -662,6 +664,10 @@
BundledArtifact,
ANDROID_CONTINUOUS_NATIVE_TESTS_FILE,
is_regex_name=True)
+_AddAndroidArtifact(artifact_info.ANDROID_CONTINUOUS_INSTRUMENTATION_TESTS_ZIP,
+ BundledArtifact,
+ ANDROID_CONTINUOUS_INSTRUMENTATION_TESTS_FILE,
+ is_regex_name=True)
_AddAndroidArtifact(artifact_info.ANDROID_TARGET_FILES_ZIP, Artifact,
ANDROID_TARGET_FILES_ZIP, is_regex_name=True)
_AddAndroidArtifact(artifact_info.ANDROID_DTB_ZIP, Artifact,