servo: Merge #5574 - Move unit tests to their own crates, cut time by 96% (from servo:unit-tests); r=jack

On my laptop, running `./mach test-unit` goes from about 11 minutes to 22 seconds, when run after `./mach build`.

Fix #5291.

Source-Repo: https://github.com/servo/servo
Source-Revision: 017d1053617f6769d7f355e4a97d52ae67e53d1c
This commit is contained in:
Simon Sapin
2015-04-07 21:16:49 -05:00
parent a288345776
commit 457ec2ede7
41 changed files with 2216 additions and 2023 deletions

View File

@@ -14,7 +14,7 @@ import fnmatch
import itertools
from licenseck import licenses
directories_to_check = ["ports", "components"]
directories_to_check = ["ports", "components", "tests"]
filetypes_to_check = [".rs", ".rc", ".cpp", ".c", ".h", ".py"]
reftest_directories = ["tests/ref"]
reftest_filetype = ".list"
@@ -22,7 +22,7 @@ reftest_filetype = ".list"
ignored_files = [
# Upstream
"support/*",
"tests/wpt/web-platform-tests/*",
"tests/wpt/*",
# Generated and upstream code combined with our own. Could use cleanup
"components/script/dom/bindings/codegen/*",