From b39d4a6542dfc544361275c9d332df66350f88bf Mon Sep 17 00:00:00 2001 From: yoyo930021 Date: Sun, 28 Aug 2016 10:28:36 +0800 Subject: [PATCH 1/6] Need better description for mach subcommands #12402 --- python/servo/testing_commands.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index ffc2dd3869e..12581dc780d 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -338,7 +338,7 @@ class MachCommands(CommandBase): return run_globals["run_tests"](tests, verbose) @Command('test-wpt-failure', - description='Run the web platform tests', + description='Run the small test harness that verifies that failures in tests are reported correctly', category='testing') def test_wpt_failure(self): self.ensure_bootstrapped() @@ -351,7 +351,7 @@ class MachCommands(CommandBase): ], env=self.build_env()) @Command('test-wpt', - description='Run the web platform tests', + description='Run the web platform tests that the regular test suite', category='testing', parser=create_parser_wpt) def test_wpt(self, **kwargs): @@ -463,7 +463,7 @@ class MachCommands(CommandBase): return self.jquery_test_runner("update", release, dev) @Command('test-css', - description='Run the web platform tests', + description='Run the css tests', category='testing', parser=create_parser_wpt) def test_css(self, **kwargs): @@ -475,7 +475,7 @@ class MachCommands(CommandBase): return self.wptrunner(run_file, **kwargs) @Command('update-css', - description='Update the web platform tests', + description='Update the css tests', category='testing', parser=updatecommandline.create_parser()) @CommandArgument('--patch', action='store_true', default=False, From 326cd670d44202f706af5446aa7aeec0e97cdc26 Mon Sep 17 00:00:00 2001 From: yoyo930021 Date: Sun, 28 Aug 2016 19:36:20 +0800 Subject: [PATCH 2/6] Need better description for mach subcommands #12402 2 --- python/servo/testing_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 12581dc780d..a915595056a 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -351,7 +351,7 @@ class MachCommands(CommandBase): ], env=self.build_env()) @Command('test-wpt', - description='Run the web platform tests that the regular test suite', + description='Run the regular web platform test suite', category='testing', parser=create_parser_wpt) def test_wpt(self, **kwargs): From 856b85ad95c6ae55d42b08885b7d44d149a57a8c Mon Sep 17 00:00:00 2001 From: yoyo930021 Date: Sun, 28 Aug 2016 20:32:48 +0800 Subject: [PATCH 3/6] Need better description for mach subcommands #12402 3 --- python/servo/testing_commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index a915595056a..aef4647b4eb 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -338,7 +338,7 @@ class MachCommands(CommandBase): return run_globals["run_tests"](tests, verbose) @Command('test-wpt-failure', - description='Run the small test harness that verifies that failures in tests are reported correctly', + description='Run the small web platform failure test', category='testing') def test_wpt_failure(self): self.ensure_bootstrapped() @@ -463,7 +463,7 @@ class MachCommands(CommandBase): return self.jquery_test_runner("update", release, dev) @Command('test-css', - description='Run the css tests', + description='Run the web platform CSS tests', category='testing', parser=create_parser_wpt) def test_css(self, **kwargs): @@ -475,7 +475,7 @@ class MachCommands(CommandBase): return self.wptrunner(run_file, **kwargs) @Command('update-css', - description='Update the css tests', + description='Update the web platform CSS test', category='testing', parser=updatecommandline.create_parser()) @CommandArgument('--patch', action='store_true', default=False, From 2767a7b8604fbb55dc85959fc517864d3be6ceb2 Mon Sep 17 00:00:00 2001 From: yoyo930021 Date: Sun, 28 Aug 2016 20:46:34 +0800 Subject: [PATCH 4/6] Need better description for mach subcommands #12402 4 --- python/servo/testing_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index aef4647b4eb..154e1fa3fcc 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -338,7 +338,7 @@ class MachCommands(CommandBase): return run_globals["run_tests"](tests, verbose) @Command('test-wpt-failure', - description='Run the small web platform failure test', + description='"Run the tests harness that verifies that the test failures are reported correctly', category='testing') def test_wpt_failure(self): self.ensure_bootstrapped() @@ -475,7 +475,7 @@ class MachCommands(CommandBase): return self.wptrunner(run_file, **kwargs) @Command('update-css', - description='Update the web platform CSS test', + description='Update the web platform CSS tests', category='testing', parser=updatecommandline.create_parser()) @CommandArgument('--patch', action='store_true', default=False, From 37eb05dc61a973aa84bdbffa408fec40679b4ed6 Mon Sep 17 00:00:00 2001 From: yoyo930021 Date: Sun, 28 Aug 2016 20:57:59 +0800 Subject: [PATCH 5/6] Need better description for mach subcommands #12402 5 --- python/servo/testing_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 154e1fa3fcc..f3963b026a1 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -338,7 +338,7 @@ class MachCommands(CommandBase): return run_globals["run_tests"](tests, verbose) @Command('test-wpt-failure', - description='"Run the tests harness that verifies that the test failures are reported correctly', + description='Run the tests harness that verifies that the test failures are reported correctly', category='testing') def test_wpt_failure(self): self.ensure_bootstrapped() From 1acded3f8510f15c125d9fef51799e17ad853f2b Mon Sep 17 00:00:00 2001 From: yoyo930021 Date: Sun, 28 Aug 2016 21:00:46 +0800 Subject: [PATCH 6/6] Need better description for mach subcommands #12402 6 --- python/servo/testing_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index f3963b026a1..97bf8635190 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -403,7 +403,7 @@ class MachCommands(CommandBase): return run_globals["run_tests"](**kwargs) @Command('update-manifest', - description='run test-wpt --manifest-update SKIP_TESTS to regenerate MANIFEST.json', + description='Run test-wpt --manifest-update SKIP_TESTS to regenerate MANIFEST.json', category='testing', parser=create_parser_wpt) def update_manifest(self, **kwargs): @@ -494,7 +494,7 @@ class MachCommands(CommandBase): return run_globals["update_tests"](**kwargs) @Command('compare_dromaeo', - description='compare outputs of two runs of ./mach test-dromaeo command', + description='Compare outputs of two runs of ./mach test-dromaeo command', category='testing') @CommandArgument('params', default=None, nargs="...", help=" filepaths of output files of two runs of dromaeo test ")