diff --git a/components/servo/Cargo.toml b/components/servo/Cargo.toml index 6591a0bd898..c03f2b3fd94 100644 --- a/components/servo/Cargo.toml +++ b/components/servo/Cargo.toml @@ -48,11 +48,6 @@ path = "../../tests/compiletest/helper" [dev-dependencies.plugin_compiletest] path = "../../tests/compiletest/plugin" -[[test]] -name = "reftest" -path = "../../tests/reftest.rs" -harness = false - [dependencies.webrender_traits] git = "https://github.com/servo/webrender_traits" diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index ad8025dacdf..00aae38cf78 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -353,23 +353,6 @@ class MachCommands(CommandBase): return ret - @Command('build-tests', - description='Build the Servo test suites', - category='build') - @CommandArgument('--jobs', '-j', - default=None, - help='Number of jobs to run in parallel') - @CommandArgument('--release', default=False, action="store_true", - help="Build tests with release mode") - def build_tests(self, jobs=None, verbose=False, release=False): - self.ensure_bootstrapped() - args = ["cargo", "test", "--no-run"] - if release: - args += ["--release"] - return call( - args, - env=self.build_env(), cwd=self.servo_crate(), verbose=verbose) - @Command('clean', description='Clean the build directory.', category='build') diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index acfce6157cf..8140027ae97 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -56,32 +56,6 @@ class MachCommands(CommandBase): if not hasattr(self.context, "built_tests"): self.context.built_tests = False - def ensure_built_tests(self, release=False): - if self.context.built_tests: - return - returncode = Registrar.dispatch( - 'build-tests', context=self.context, release=release) - if returncode: - sys.exit(returncode) - self.context.built_tests = True - - def find_test(self, prefix, release=False): - build_mode = "release" if release else "debug" - target_contents = os.listdir(path.join( - self.get_target_dir(), build_mode)) - for filename in target_contents: - if filename.startswith(prefix + "-"): - filepath = path.join( - self.get_target_dir(), build_mode, filename) - - if path.isfile(filepath) and os.access(filepath, os.X_OK): - return filepath - - def run_test(self, prefix, args=[], release=False): - t = self.find_test(prefix, release=release) - if t: - return call([t] + args, env=self.build_env()) - @Command('test', description='Run all Servo tests', category='testing')