diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/instrumentation | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | uxp-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/instrumentation')
-rw-r--r-- | testing/instrumentation/Makefile.in | 25 | ||||
-rw-r--r-- | testing/instrumentation/moz.build | 9 | ||||
-rw-r--r-- | testing/instrumentation/runinstrumentation.py | 10 |
3 files changed, 44 insertions, 0 deletions
diff --git a/testing/instrumentation/Makefile.in b/testing/instrumentation/Makefile.in new file mode 100644 index 0000000000..0ccb15a2c8 --- /dev/null +++ b/testing/instrumentation/Makefile.in @@ -0,0 +1,25 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +_DEST_DIR = $(DEPTH)/_tests/instrumentation +PKG_STAGE = $(DIST)/test-stage + +include $(topsrcdir)/config/rules.mk + +# Fennec and all instrumentation tests need to be signed with the same +# key, which means release signing them all. + +include $(topsrcdir)/config/android-common.mk + +stage-package: + $(NSINSTALL) -D $(_DEST_DIR) +ifndef MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE + $(call RELEASE_SIGN_ANDROID_APK,\ + $(DEPTH)/mobile/android/tests/background/junit3/background-junit3-debug-unsigned-unaligned.apk,\ + $(_DEST_DIR)/background-junit3.apk) + $(call RELEASE_SIGN_ANDROID_APK,\ + $(DEPTH)/mobile/android/tests/browser/junit3/browser-junit3-debug-unsigned-unaligned.apk,\ + $(_DEST_DIR)/browser-junit3.apk) +endif + @(cd $(DEPTH)/_tests/ && tar $(TAR_CREATE_FLAGS) - instrumentation) | (cd $(PKG_STAGE) && tar -xf -) diff --git a/testing/instrumentation/moz.build b/testing/instrumentation/moz.build new file mode 100644 index 0000000000..3bab625bca --- /dev/null +++ b/testing/instrumentation/moz.build @@ -0,0 +1,9 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +TEST_HARNESS_FILES.instrumentation += [ + 'runinstrumentation.py', +] diff --git a/testing/instrumentation/runinstrumentation.py b/testing/instrumentation/runinstrumentation.py new file mode 100644 index 0000000000..5a329d0080 --- /dev/null +++ b/testing/instrumentation/runinstrumentation.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +import sys + +if __name__ == "__main__": + sys.exit(1) |