dart-sdk/tests
Ryan Macnak 9b5a931b06 [vm] Replace most runtime/vm uses of OS::Print with OS::PrintErr.
Leave --print-snapshot-sizes on stdout because it is parsed by Flutter benchmarks.

Replace all runtime/bin uses of OS::Print with Log::Print.

Bug: https://github.com/dart-lang/sdk/issues/32134
Change-Id: I74aacfb410cdfa9270d06e7f6ab0534520c7c7ba
Reviewed-on: https://dart-review.googlesource.com/60021
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-06-13 19:51:40 +00:00
..
angular
co19 Parse name of factory as method name instead of constructor reference. 2018-06-11 09:55:24 +00:00
co19_2 Better test error handler argument types. 2018-06-01 12:26:37 +00:00
compiler Narrow to static types in invoke/get in inference 2018-06-13 13:11:10 +00:00
corelib Make dart2js only run with 64 bit ints, not the larger ints from the vm. 2018-05-30 17:21:49 +00:00
corelib_2 [Tests] Adjust status for slow bigint test with simulated architectures. 2018-06-12 19:06:37 +00:00
dart
html Added support for members of type Promise. 2018-06-13 18:20:53 +00:00
isolate First pass at disabling packages/ dir, packageRoot 2018-06-12 19:38:40 +00:00
kernel [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +00:00
language Parse name of factory as method name instead of constructor reference. 2018-06-11 09:55:24 +00:00
language_2 Error when a file is a part of more than one library 2018-06-13 12:55:20 +00:00
lib Reapply "Make --sync-async the default for the VM." 2018-06-06 14:32:13 +00:00
lib_2 Updated expected tests and fix for FF test. 2018-06-13 19:48:02 +00:00
search
standalone First pass at disabling packages/ dir, packageRoot 2018-06-12 19:38:40 +00:00
standalone_2 [vm] Replace most runtime/vm uses of OS::Print with OS::PrintErr. 2018-06-13 19:51:40 +00:00
light_unittest.dart
README

Run Existing Tests
==================

See the output of

  ../tools/test.py --help

for how to run tests.

See also

  https://code.google.com/p/dart/wiki/Building#Testing

for detailed examples.

Create New Tests
================

See comments above

  factory StandardTestSuite.forDirectory

in

  ../tools/testing/dart/test_suite.dart

for the default test directory layout. By default test-file names must
end in "_test.dart", but some test suites, such as ./co19, subclass
StandardTestSuite and override this default.

See comments at the beginning of

  ../tools/testing/dart/multitest.dart

for how to create tests that pass by failing with a known error. For
example,

  ...
  int x = "not an int"; /// 01: static type warning
  ...

as part of a test will only pass the "--compiler dart2analyzer" test if
the assignment generates a static type warning.