|
1 # |
|
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 ABS_SRCDIR := $(abspath $(srcdir)) |
|
9 ifeq ($(OS_ARCH),WINNT) |
|
10 |
|
11 check:: |
|
12 cd $(srcdir)/test; $(LIBXUL_DIST)/bin/xpcshell$(BIN_SUFFIX) shell.js |
|
13 |
|
14 else |
|
15 |
|
16 check:: |
|
17 $(RUN_TEST_PROGRAM) $(LIBXUL_DIST)/bin/xpcshell$(BIN_SUFFIX) $(srcdir)/test/shell.js $(ABS_SRCDIR)/test |
|
18 |
|
19 endif # WINNT |