michael@0: # vim: set shiftwidth=8 tabstop=8 autoindent noexpandtab copyindent: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: # test files to be packaged. michael@0: TEST_FILES = \ michael@0: jsreftest.html \ michael@0: shell.js \ michael@0: browser.js \ michael@0: js-test-driver-end.js \ michael@0: user.js \ michael@0: ecma/ \ michael@0: ecma_2/ \ michael@0: ecma_3/ \ michael@0: ecma_3_1/ \ michael@0: ecma_5/ \ michael@0: ecma_6/ \ michael@0: Intl/ \ michael@0: js1_1/ \ michael@0: js1_2/ \ michael@0: js1_3/ \ michael@0: js1_4/ \ michael@0: js1_5/ \ michael@0: js1_6/ \ michael@0: js1_7/ \ michael@0: js1_8/ \ michael@0: js1_8_1/ \ michael@0: js1_8_5/ \ michael@0: test262/ \ michael@0: $(NULL) michael@0: michael@0: PKG_STAGE = $(DIST)/test-package-stage michael@0: michael@0: # stage tests for packaging michael@0: stage-package: michael@0: $(NSINSTALL) -D $(PKG_STAGE)/jsreftest/tests michael@0: (cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(TEST_FILES)) | (cd $(PKG_STAGE)/jsreftest/tests && tar -xf -) michael@0: $(PYTHON) $(srcdir)/jstests.py --make-manifests $(PKG_STAGE)/jsreftest/tests/