dart-sdk/tests
Aart Bik a421022b77 [dart/vm] fix crash in DBC register allocation
Rationale:
Code had no guard on running out of registers

https://github.com/dart-lang/sdk/issues/36977

Change-Id: Ifec1b7ef626e6a8720c437f0f25d119956dfb63a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106429
Commit-Queue: Aart Bik <ajcbik@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2019-06-19 17:24:16 +00:00
..
angular
co19_2
compiler [dartdevc] Add top level function names to NSM error messages 2019-06-17 20:58:31 +00:00
corelib_2 [vm] RFC6874 support zoneID in uri parser 2019-06-13 16:19:35 +00:00
dart
ffi [vm/ffi] Fix snapshot serialization of FFI objects. 2019-06-18 13:17:14 +00:00
kernel
language_2 [dart/vm] fix crash in DBC register allocation 2019-06-19 17:24:16 +00:00
lib_2 Move the test runner (i.e. "test.dart"/"test.py") to pkg/. 2019-06-14 23:35:10 +00:00
modular [dartdevc] add regression test for consts in outlines 2019-06-19 15:44:35 +00:00
search
standalone
standalone_2 Move the test runner (i.e. "test.dart"/"test.py") to pkg/. 2019-06-14 23:35:10 +00:00
light_unittest.dart
README Move the test runner (i.e. "test.dart"/"test.py") to pkg/. 2019-06-14 23:35:10 +00:00

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

  ../pkg/test_runner/lib/src/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

  ../pkg/test_runner/lib/src/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.