Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: dart/tools/testing/architecture.py

Issue 8965039: Fix bug in frog_wrapper.py that caused it to eat the first argument (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/frog/scripts/bootstrap/frog_wrapper.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 # 4 #
5 5
6 import os 6 import os
7 import platform 7 import platform
8 import re 8 import re
9 import shutil 9 import shutil
10 import subprocess 10 import subprocess
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 def Cleanup(self): 529 def Cleanup(self):
530 return 530 return
531 531
532 532
533 class LegArchitecture(StandaloneArchitecture): 533 class LegArchitecture(StandaloneArchitecture):
534 534
535 def __init__(self, root_path, arch, mode, component, test): 535 def __init__(self, root_path, arch, mode, component, test):
536 super(LegArchitecture, self).__init__(root_path, arch, mode, component, 536 super(LegArchitecture, self).__init__(root_path, arch, mode, component,
537 test) 537 test)
538 def GetOptions(self): 538 def GetOptions(self):
539 return ['--enable_leg', '--leg_only'] 539 return ['--leg_only']
540 540
541 def GetExecutable(self): 541 def GetExecutable(self):
542 """Returns the path to the Dart test runner (executes the .dart file).""" 542 """Returns the path to the Dart test runner (executes the .dart file)."""
543 return utils.GetDartRunner(self.mode, self.arch, 'frog') 543 return utils.GetDartRunner(self.mode, self.arch, 'frog')
544 544
545 545
546 # Long term, we should do the running machinery that is currently in 546 # Long term, we should do the running machinery that is currently in
547 # DartRunner.java 547 # DartRunner.java
548 class DartcArchitecture(StandaloneArchitecture): 548 class DartcArchitecture(StandaloneArchitecture):
549 """Runs the Dart ->JS compiler then runs the result in a standalone JS VM.""" 549 """Runs the Dart ->JS compiler then runs the result in a standalone JS VM."""
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 return WebDriverArchitecture(root_path, arch, mode, component, test) 596 return WebDriverArchitecture(root_path, arch, mode, component, test)
597 597
598 elif component in ['vm', 'frog', 'frogsh']: 598 elif component in ['vm', 'frog', 'frogsh']:
599 return StandaloneArchitecture(root_path, arch, mode, component, test) 599 return StandaloneArchitecture(root_path, arch, mode, component, test)
600 600
601 elif component == 'leg': 601 elif component == 'leg':
602 return LegArchitecture(root_path, arch, mode, component, test) 602 return LegArchitecture(root_path, arch, mode, component, test)
603 603
604 elif component == 'dartc': 604 elif component == 'dartc':
605 return DartcArchitecture(root_path, arch, mode, component, test) 605 return DartcArchitecture(root_path, arch, mode, component, test)
OLDNEW
« no previous file with comments | « dart/frog/scripts/bootstrap/frog_wrapper.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698