Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | PYTHON_UNIT_TESTS := \ |
michael@0 | 6 | test.py \ |
michael@0 | 7 | $(NULL) |
michael@0 | 8 | |
michael@0 | 9 | include $(topsrcdir)/config/rules.mk |
michael@0 | 10 | |
michael@0 | 11 | # Harness packages from the srcdir |
michael@0 | 12 | MOZBASE_PACKAGES = \ |
michael@0 | 13 | manifestdestiny \ |
michael@0 | 14 | mozcrash \ |
michael@0 | 15 | mozfile \ |
michael@0 | 16 | mozhttpd \ |
michael@0 | 17 | mozinfo \ |
michael@0 | 18 | mozinstall \ |
michael@0 | 19 | mozlog \ |
michael@0 | 20 | mozprocess \ |
michael@0 | 21 | mozprofile \ |
michael@0 | 22 | mozrunner \ |
michael@0 | 23 | mozdevice \ |
michael@0 | 24 | moznetwork \ |
michael@0 | 25 | mozsystemmonitor \ |
michael@0 | 26 | moztest \ |
michael@0 | 27 | mozversion \ |
michael@0 | 28 | $(NULL) |
michael@0 | 29 | |
michael@0 | 30 | MOZBASE_EXTRAS = \ |
michael@0 | 31 | setup_development.py \ |
michael@0 | 32 | test.py \ |
michael@0 | 33 | test-manifest.ini \ |
michael@0 | 34 | $(NULL) |
michael@0 | 35 | |
michael@0 | 36 | _DEST_DIR = $(DEPTH)/_tests/mozbase |
michael@0 | 37 | libs:: $(MOZBASE_PACKAGES) |
michael@0 | 38 | $(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR) |
michael@0 | 39 | libs:: $(MOZBASE_EXTRAS) |
michael@0 | 40 | $(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR) |
michael@0 | 41 | |
michael@0 | 42 | stage-package: PKG_STAGE = $(DIST)/test-package-stage |
michael@0 | 43 | stage-package: |
michael@0 | 44 | $(NSINSTALL) -D $(PKG_STAGE)/mozbase |
michael@0 | 45 | @(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(MOZBASE_PACKAGES)) | (cd $(PKG_STAGE)/mozbase && tar -xf -) |
michael@0 | 46 | @(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(MOZBASE_EXTRAS)) | (cd $(PKG_STAGE)/mozbase && tar -xf -) |