1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/tests/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +# vim: set shiftwidth=8 tabstop=8 autoindent noexpandtab copyindent: 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +include $(topsrcdir)/config/rules.mk 1.10 + 1.11 +# test files to be packaged. 1.12 +TEST_FILES = \ 1.13 + jsreftest.html \ 1.14 + shell.js \ 1.15 + browser.js \ 1.16 + js-test-driver-end.js \ 1.17 + user.js \ 1.18 + ecma/ \ 1.19 + ecma_2/ \ 1.20 + ecma_3/ \ 1.21 + ecma_3_1/ \ 1.22 + ecma_5/ \ 1.23 + ecma_6/ \ 1.24 + Intl/ \ 1.25 + js1_1/ \ 1.26 + js1_2/ \ 1.27 + js1_3/ \ 1.28 + js1_4/ \ 1.29 + js1_5/ \ 1.30 + js1_6/ \ 1.31 + js1_7/ \ 1.32 + js1_8/ \ 1.33 + js1_8_1/ \ 1.34 + js1_8_5/ \ 1.35 + test262/ \ 1.36 + $(NULL) 1.37 + 1.38 +PKG_STAGE = $(DIST)/test-package-stage 1.39 + 1.40 +# stage tests for packaging 1.41 +stage-package: 1.42 + $(NSINSTALL) -D $(PKG_STAGE)/jsreftest/tests 1.43 + (cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(TEST_FILES)) | (cd $(PKG_STAGE)/jsreftest/tests && tar -xf -) 1.44 + $(PYTHON) $(srcdir)/jstests.py --make-manifests $(PKG_STAGE)/jsreftest/tests/