From 45d5a4327657d8a69dd6022303296229e0b11b44 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Fri, 28 Aug 2015 14:39:53 -0700 Subject: [PATCH] Remove --only from run_tests This feature is built into package:test. We don't need to reimplement it poorly. --- engine/src/flutter/sky/tools/run_tests | 8 -------- 1 file changed, 8 deletions(-) diff --git a/engine/src/flutter/sky/tools/run_tests b/engine/src/flutter/sky/tools/run_tests index 5a2936febf3..709278ed2d9 100755 --- a/engine/src/flutter/sky/tools/run_tests +++ b/engine/src/flutter/sky/tools/run_tests @@ -24,7 +24,6 @@ def main(): parser.add_argument('--config', default='Debug') parser.add_argument('--debug', dest='config', action='store_const', const='Debug') parser.add_argument('--release', dest='config', action='store_const', const='Release') - parser.add_argument('--only', help='Run only the specified test') args, remaining = parser.parse_known_args() build_dir = os.path.join(SRC_ROOT, 'out', args.config) @@ -35,13 +34,6 @@ def main(): elif sys.platform == 'darwin': sky_shell = os.path.join(build_dir, 'SkyShell.app', 'Contents', 'MacOS', 'SkyShell') - if args.only: - return subprocess.call([ - sky_shell, - '--package-root=%s' % PACKAGES_DIR, - args.only, - ]) - env = os.environ.copy() env['PUB_CACHE'] = PUB_CACHE env['SKY_SHELL'] = sky_shell