mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 21:20:36 +00:00
Add more test configurations. Everything seems covered for frog again now.
R=sgjesse@google.com BUG= TEST= Review URL: http://codereview.chromium.org//8821009 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2118 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
4c7d6d7e25
commit
f7b6b6eaba
|
@ -20,6 +20,9 @@
|
|||
#import("../frog/tests/frog/test_config.dart");
|
||||
#import("../frog/tests/leg/test_config.dart");
|
||||
#import("../frog/tests/leg_only/test_config.dart");
|
||||
#import("../frog/tests/await/test_config.dart");
|
||||
#import("../utils/tests/css/test_config.dart");
|
||||
#import("../utils/tests/peg/test_config.dart");
|
||||
|
||||
main() {
|
||||
var startTime = new Date.now();
|
||||
|
@ -76,6 +79,15 @@ main() {
|
|||
if (selectors.containsKey('dartc')) {
|
||||
queue.addTestSuite(new ClientDartcTestSuite(conf));
|
||||
}
|
||||
if (selectors.containsKey('css')) {
|
||||
queue.addTestSuite(new CssTestSuite(conf));
|
||||
}
|
||||
if (selectors.containsKey('peg')) {
|
||||
queue.addTestSuite(new PegTestSuite(conf));
|
||||
}
|
||||
if (selectors.containsKey('await')) {
|
||||
queue.addTestSuite(new AwaitTestSuite(conf));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
15
utils/tests/css/test_config.dart
Normal file
15
utils/tests/css/test_config.dart
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
#library("css_test_config");
|
||||
|
||||
#import("../../../tools/testing/dart/test_suite.dart");
|
||||
|
||||
class CssTestSuite extends StandardTestSuite {
|
||||
CssTestSuite(Map configuration)
|
||||
: super(configuration,
|
||||
"css",
|
||||
"utils/tests/css/src",
|
||||
["utils/tests/css/css.status"]);
|
||||
}
|
15
utils/tests/peg/test_config.dart
Normal file
15
utils/tests/peg/test_config.dart
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
#library("peg_test_config");
|
||||
|
||||
#import("../../../tools/testing/dart/test_suite.dart");
|
||||
|
||||
class PegTestSuite extends StandardTestSuite {
|
||||
PegTestSuite(Map configuration)
|
||||
: super(configuration,
|
||||
"peg",
|
||||
"utils/tests/peg/src",
|
||||
["utils/tests/peg/peg.status"]);
|
||||
}
|
Loading…
Reference in a new issue