dart-sdk/tests
Kevin Millikin d562f7ced5 Remove definitions from Kernel canonical names.
Before: Canonical names contained pointers to the corresponding Kernel
tree which assumed that the whole tree was in memory whenever the
canonical names were.

Now: Canonical names do not contain these pointers.  They were only
really used to perform name-based lookup in the VM's heap so the
canonical name itself is enough.

If we later find that we need to get from a canonical name to its
Kernel tree we can add an offset in the binary (for instance) to the
canonical name or in a separate mapping on the side.

BUG=
R=asgerf@google.com, jensj@google.com, vegorov@google.com

Committed: ed77783cd3
Review-Url: https://codereview.chromium.org/2781893004 .
2017-03-30 09:31:31 +02:00
..
_chrome
benchmark_smoke Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
co19 Complain about bad operator parameters. 2017-03-29 13:12:41 +02:00
compiler Use InterceptorDataBuilderImpl and BackendUsageBuilderImpl for kernel/closed_world_test 2017-03-29 11:32:40 +02:00
corelib Update status files for all test suites for -c dartk / -c dartkp configuration. 2017-03-29 13:18:57 +02:00
corelib_strong Fix top-level inference errors for most of the newly failing tests. 2017-03-28 12:16:09 -07:00
html Remove ie10 and opera sections from status files 2017-03-28 16:38:59 +02:00
isolate Update status files for all test suites for -c dartk / -c dartkp configuration. 2017-03-29 13:18:57 +02:00
kernel Switch -c dartk/dartkp configuration to use fasta. 2017-02-26 20:39:02 +01:00
language Update dartium status for abstract_beats_arguments2_test 2017-03-29 16:13:16 +02:00
language_strong Fix top-level inference errors for most of the newly failing tests. 2017-03-28 12:16:09 -07:00
lib Remove definitions from Kernel canonical names. 2017-03-30 09:31:31 +02:00
lib_strong Fix top-level inference errors for most of the newly failing tests. 2017-03-28 12:16:09 -07:00
standalone Update status files for all test suites for -c dartk / -c dartkp configuration. 2017-03-29 13:18:57 +02:00
utils Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01: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.