dart-sdk/tests
Daco Harkes 7d46d4b5cb [vm / library] Foreign function interface prototype
Prototype for `dart:ffi` on Linux/MacOS x64 in JIT mode.
`dart:ffi` is experimental and its API is likely to change in the future.
Progress and design decisions are tracked in https://github.com/dart-lang/sdk/projects/13


issue: https://github.com/dart-lang/sdk/issues/34452
Change-Id: Ifa4566388e42c8757f154741d11e303465ef305d
Cq-Include-Trybots: luci.dart.try:vm-kernel-optcounter-threshold-linux-release-x64-try, vm-kernel-precomp-linux-debug-x64-try, vm-kernel-precomp-linux-release-simarm-try, vm-kernel-precomp-linux-release-simarm64-try, vm-kernel-precomp-linux-release-x64-try, vm-kernel-precomp-mac-release-simarm64-try, vm-kernel-precomp-win-release-x64-try, vm-kernel-mac-debug-x64-try, vm-kernel-asan-linux-release-x64
Reviewed-on: https://dart-review.googlesource.com/c/80124
Reviewed-by: Samir Jindel <sjindel@google.com>
Auto-Submit: Daco Harkes <dacoharkes@google.com>
2019-02-13 12:42:47 +00:00
..
angular
co19_2 Dartdevc co19 tests - skip co19_2 tests that time out 2019-02-08 13:33:41 +00:00
compiler Remove obsolete expectMoreSpecific parameter 2019-02-13 10:51:55 +00:00
corelib_2 Move environment handling into the front-end constant evaluator. 2019-02-04 13:31:30 +00:00
dart
kernel Remove --fast-startup flag support from testing scripts and status files 2019-01-16 11:32:44 +00:00
language_2 Fix for crash if MixinDeclaration has a const constructor. 2019-02-12 22:16:12 +00:00
lib_2 Fix JSON parser. 2019-02-13 11:06:35 +00:00
search
standalone [test] Repair DWARF stacktrace test from Dart 2 damage. 2019-01-04 20:47:44 +00:00
standalone_2 [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +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.