gecko-dev/testing/web-platform/moz.build
Gregory Szorc a1cef9be6a Bug 1239880 - Don't copy thousands of web-platform test files to objdir; r=chmanchester
AFAICT, we don't actually access web-platform test files from the
objdir for anything except test packaging. And we already have
a mechanism for creating test archives from files directly in the
source directory. So, let's stop copying them to the objdir and
package them directly from the source directory!

The _tests install manifest reports the following change:

before: 41,977 files installed
after:  24,537 files installed
delta: -17,440 files

We still copy some WPT files to the objdir. We might be able to
eliminate these as well. However, since there are only ~200 files,
I'm not too concerned.

I manually compared the resulting web-platform zip archives from before
and after. No files were removed from the archive. However, the new
archive does gain several hundred empty directories with .gitkeep
files. This feels weird, but it shouldn't break anything (I would
think). I'm inclined to leave them for now. I'll file a follow-up
bug to deal with them (preferably by removing them from version
control).

--HG--
extra : rebase_source : d350f8fc223982c8a11a9bf542411e5ec5e44244
2016-01-15 20:09:12 -08:00

24 lines
696 B
Python

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
WEB_PLATFORM_TESTS_MANIFESTS += [
('meta/MANIFEST.json', 'tests/'),
('mozilla/meta/MANIFEST.json', 'mozilla/tests/')
]
TEST_HARNESS_FILES['web-platform'] += [
'harness/**',
'outbound/**',
'runtests.py',
'wptrunner.ini'
]
TEST_HARNESS_FILES['web-platform'].certs = [
'certs/cacert.pem',
'certs/web-platform.test.key',
'certs/web-platform.test.pem',
]