|
1 # vim: set shiftwidth=8 tabstop=8 autoindent noexpandtab copyindent: |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 include $(topsrcdir)/config/rules.mk |
|
7 |
|
8 # test files to be packaged. |
|
9 TEST_FILES = \ |
|
10 jsreftest.html \ |
|
11 shell.js \ |
|
12 browser.js \ |
|
13 js-test-driver-end.js \ |
|
14 user.js \ |
|
15 ecma/ \ |
|
16 ecma_2/ \ |
|
17 ecma_3/ \ |
|
18 ecma_3_1/ \ |
|
19 ecma_5/ \ |
|
20 ecma_6/ \ |
|
21 Intl/ \ |
|
22 js1_1/ \ |
|
23 js1_2/ \ |
|
24 js1_3/ \ |
|
25 js1_4/ \ |
|
26 js1_5/ \ |
|
27 js1_6/ \ |
|
28 js1_7/ \ |
|
29 js1_8/ \ |
|
30 js1_8_1/ \ |
|
31 js1_8_5/ \ |
|
32 test262/ \ |
|
33 $(NULL) |
|
34 |
|
35 PKG_STAGE = $(DIST)/test-package-stage |
|
36 |
|
37 # stage tests for packaging |
|
38 stage-package: |
|
39 $(NSINSTALL) -D $(PKG_STAGE)/jsreftest/tests |
|
40 (cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(TEST_FILES)) | (cd $(PKG_STAGE)/jsreftest/tests && tar -xf -) |
|
41 $(PYTHON) $(srcdir)/jstests.py --make-manifests $(PKG_STAGE)/jsreftest/tests/ |