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

Side by Side Diff: tools/testing/dart/test_options.dart

Issue 10398056: Remove system-provided temporary directory usage from test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months 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 | « tools/test-runtime.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #library("test_options_parser"); 5 #library("test_options_parser");
6 6
7 #import("dart:io"); 7 #import("dart:io");
8 #import("dart:builtin"); 8 #import("dart:builtin");
9 #import("drt_updater.dart"); 9 #import("drt_updater.dart");
10 10
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 false, 185 false,
186 'bool'), 186 'bool'),
187 new _TestOptionSpecification( 187 new _TestOptionSpecification(
188 'list', 188 'list',
189 'List tests only, do not run them', 189 'List tests only, do not run them',
190 ['--list'], 190 ['--list'],
191 [], 191 [],
192 false, 192 false,
193 'bool'), 193 'bool'),
194 new _TestOptionSpecification( 194 new _TestOptionSpecification(
195 'keep-generated-tests',
196 'Keep the generated files in the temporary directory',
197 ['--keep-generated-tests'],
198 [],
199 false,
200 'bool'),
201 new _TestOptionSpecification(
202 'valgrind', 195 'valgrind',
203 'Run tests through valgrind', 196 'Run tests through valgrind',
204 ['--valgrind'], 197 ['--valgrind'],
205 [], 198 [],
206 false, 199 false,
207 'bool'), 200 'bool'),
208 new _TestOptionSpecification( 201 new _TestOptionSpecification(
209 'special-command', 202 'special-command',
210 specialCommandHelp, 203 specialCommandHelp,
211 ['--special-command'], 204 ['--special-command'],
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 return option; 633 return option;
641 } 634 }
642 } 635 }
643 print('Unknown test option $name'); 636 print('Unknown test option $name');
644 exit(1); 637 exit(1);
645 } 638 }
646 639
647 640
648 List<_TestOptionSpecification> _options; 641 List<_TestOptionSpecification> _options;
649 } 642 }
OLDNEW
« no previous file with comments | « tools/test-runtime.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698