Add continuous native tests artifacts.
Continuous native tests artifact is needed to run gtests on Android.
BUG=b:29458348
TEST=none
Change-Id: I996f6a8e4cef321286a76cfe0f688e9b3846d5be
Reviewed-on: https://chromium-review.googlesource.com/355201
Commit-Ready: Ralph Nathan <ralphnathan@chromium.org>
Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
diff --git a/artifact_info.py b/artifact_info.py
index 3f24cb5..e3ceea5 100644
--- a/artifact_info.py
+++ b/artifact_info.py
@@ -96,6 +96,7 @@
# Zip file of native tests used by Android devices.
ANDROID_NATIVETESTS_ZIP = 'nativetests'
+ANDROID_CONTINUOUS_NATIVE_TESTS_ZIP = 'continuous_native_tests'
# In general, downloading one artifact usually indicates that the caller will
# want to download other artifacts later. The following map explicitly defines
diff --git a/build_artifact.py b/build_artifact.py
index 81c2523..6feed5c 100755
--- a/build_artifact.py
+++ b/build_artifact.py
@@ -57,6 +57,7 @@
ANDROID_TEST_SUITES = r'[^-]*-test_suites-.*\.tar.bz2'
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'
_build_artifact_locks = common_util.LockDict()
@@ -655,6 +656,10 @@
ANDROID_CONTROL_FILES, is_regex_name=True)
_AddAndroidArtifact(artifact_info.ANDROID_NATIVETESTS_ZIP, BundledArtifact,
ANDROID_NATIVETESTS_FILE, is_regex_name=True)
+_AddAndroidArtifact(artifact_info.ANDROID_CONTINUOUS_NATIVE_TESTS_ZIP,
+ BundledArtifact,
+ ANDROID_CONTINUOUS_NATIVE_TESTS_FILE,
+ is_regex_name=True)
class BaseArtifactFactory(object):