Merge inbound to m-c on a CLOSED TREE.
[gecko.git] / testing / peptest / Makefile.in
blobbfa66b649bd10cd42df8a8d91a9d189ca07b02e3
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 include $(topsrcdir)/config/rules.mk
7 PEPTEST_HARNESS = \
8 peptest \
9 $(NULL)
11 PEPTEST_EXTRAS = \
12 setup.py \
13 runtests.py \
14 MANIFEST.in \
15 README.md \
16 $(NULL)
18 PEPTEST_TESTS = \
19 tests \
20 $(NULL)
22 _DEST_DIR = $(DEPTH)/_tests/peptest
23 libs:: $(PEPTEST_HARNESS)
24 $(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR)
25 libs:: $(PEPTEST_EXTRAS)
26 $(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR)
27 libs:: $(PEPTEST_TESTS)
28 $(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR)
30 stage-package: PKG_STAGE = $(DIST)/test-package-stage
31 stage-package:
32 $(NSINSTALL) -D $(PKG_STAGE)/peptest
33 @(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(PEPTEST_HARNESS)) | (cd $(PKG_STAGE)/peptest && tar -xf -)
34 @(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(PEPTEST_EXTRAS)) | (cd $(PKG_STAGE)/peptest && tar -xf -)
35 @(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(PEPTEST_TESTS)) | (cd $(PKG_STAGE)/peptest && tar -xf -)