dart-sdk/tests
Martin Kustermann 34f17b2973 [VM] Add missing 6-type-test to subtypecache search in simdbc (it has it in 2 places)
Also this CL ports x64 changes to StubCode::GenerateSlowTypeTestStub() to arm/arm64.

Change-Id: I1e6bb3ae51724e97dac28c7d75ac9d0f4f2db01b
Reviewed-on: https://dart-review.googlesource.com/68885
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-08-08 15:45:02 +00:00
..
angular
co19 [vm/precomp] Update status files for Dart 1 AOT. 2018-08-08 12:22:43 +00:00
co19_2
compiler [dart2js] Mark failing unit tests as RuntimeError to fix CQ (#34095) 2018-08-08 09:25:10 +00:00
corelib [vm/precomp] Update status files for Dart 1 AOT. 2018-08-08 12:22:43 +00:00
corelib_2
dart
html
isolate
kernel
language [vm/precomp] Update status files for Dart 1 AOT. 2018-08-08 12:22:43 +00:00
language_2 [VM] Add missing 6-type-test to subtypecache search in simdbc (it has it in 2 places) 2018-08-08 15:45:02 +00:00
lib
lib_2 dart2js status update 2018-08-07 23:37:19 +00:00
search
standalone
standalone_2 [vm/precomp] Take 4 for procedure- and class-entrypoints. 2018-08-07 13:54:27 +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.