diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-05-17 11:31:52 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-05-17 11:24:59 -0500 |
commit | a440a0bdafcfa0a79d6b4e492ebdcd586f7c1a79 (patch) | |
tree | b9afbd9ee2c657934f5367a91268fbb907244ba4 /python/servo/testing_commands.py | |
parent | 66ff70dd3e651e7d2b504bc76b82a4cbd39195e1 (diff) | |
download | servo-a440a0bdafcfa0a79d6b4e492ebdcd586f7c1a79.tar.gz servo-a440a0bdafcfa0a79d6b4e492ebdcd586f7c1a79.zip |
Remove geckolib-related build commands.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r-- | python/servo/testing_commands.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index cac5531d8f4..e8e6d997ffd 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -295,28 +295,6 @@ class MachCommands(CommandBase): if err is not 0: return err - @Command('test-stylo', - description='Run stylo unit tests', - category='testing') - @CommandArgument('test_name', nargs=argparse.REMAINDER, - help="Only run tests that match this pattern or file path") - @CommandArgument('--release', default=False, action="store_true", - help="Run with a release build of servo") - def test_stylo(self, release=False, test_name=None): - self.set_use_geckolib_toolchain() - self.ensure_bootstrapped() - - env = self.build_env() - env["RUST_BACKTRACE"] = "1" - env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target", "geckolib").encode("UTF-8") - - args = ( - ["cargo", "test", "--manifest-path", self.geckolib_manifest(), "-p", "stylo_tests"] + - (["--release"] if release else []) + - (test_name or []) - ) - return self.call_rustup_run(args, env=env) - @Command('test-content', description='Run the content tests', category='testing') |