mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00:00
Move sanity checks to stylo tests
This commit is contained in:
parent
c615a0dabc
commit
1d497828a7
7 changed files with 13 additions and 12 deletions
|
@ -208,6 +208,8 @@ class MachCommands(CommandBase):
|
|||
if not packages:
|
||||
packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit")))
|
||||
|
||||
packages.remove('stylo')
|
||||
|
||||
args = ["cargo", "test"]
|
||||
for crate in packages:
|
||||
args += ["-p", "%s_tests" % crate]
|
||||
|
@ -235,10 +237,7 @@ class MachCommands(CommandBase):
|
|||
@Command('test-stylo',
|
||||
description='Run stylo unit tests',
|
||||
category='testing')
|
||||
def test_unit(self, test_name=None, package=None):
|
||||
if test_name is None:
|
||||
test_name = []
|
||||
|
||||
def test_stylo(self):
|
||||
self.set_use_stable_rust()
|
||||
self.ensure_bootstrapped()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue