Bug 1948127: Sync all folders but gtest_bin for Android gtests r=jmaher
Needed for the folders used in TestGetFilesHelper. Differential Revision: https://phabricator.services.mozilla.com/D244110
This commit is contained in:
@@ -6,6 +6,4 @@
|
||||
|
||||
MOCHITEST_MANIFESTS += ["mochitest.toml"]
|
||||
|
||||
# bug 1948127
|
||||
if CONFIG["OS_TARGET"] != "Android":
|
||||
TEST_DIRS += ["gtest"]
|
||||
TEST_DIRS += ["gtest"]
|
||||
|
||||
@@ -117,10 +117,10 @@ class RemoteGTests(object):
|
||||
if os.path.isfile(libxul_buildid_path):
|
||||
self.device.push(libxul_buildid_path, self.remote_libdir)
|
||||
|
||||
# Push support files to device. Avoid sub-directories so that libxul.so
|
||||
# Push support files to device. Avoid gtest_bin so that libxul.so
|
||||
# is not included.
|
||||
for f in glob.glob(os.path.join(test_dir, "*")):
|
||||
if not os.path.isdir(f):
|
||||
for f in glob.glob(os.path.join(test_dir, "**"), recursive=True):
|
||||
if not "gtest_bin" in os.path.abspath(f):
|
||||
self.device.push(f, self.remote_profile)
|
||||
|
||||
if test_filter is not None:
|
||||
|
||||
Reference in New Issue
Block a user