mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b93e1eb1a8
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).
24 lines
696 B
Python
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',
|
|
]
|