dart-sdk/tests
Alexander Markov b6276eb3d5 [VM] Enable --limit-ints-to-64-bits in Dart 2.0 precompiler, v3.
* Enable --limit-ints-to-64-bits for CFE when it is used to generate
  kernel for VM as CFE relies on int.parse being able to parse correct
  literals and reject incorrect.

* Pass --limit-ints-to-64-bits to gen_kernel via environment
  variable to support batch mode compilation.

Issue: https://github.com/dart-lang/sdk/issues/31339

Re-landing https://dart-review.googlesource.com/29941 with the fix:

* Use checked-in SDK to avoid timeouts on SIMARM bots.
  Checked-in SDK was updated and now includes necessary fixes.

Change-Id: I4a5a99455b60204572f3d619d7eb374035b03e40
Reviewed-on: https://dart-review.googlesource.com/30640
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2017-12-20 18:04:42 +00:00
..
angular Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
co19 Adjusted status for flakiness on new platform 2017-12-15 10:50:44 +00:00
compiler Adjust inlining heuristics for in-loop calls 2017-12-20 08:20:03 +00:00
corelib Tiny fix to fix type errors in our compiler while running host-checked 2017-12-15 18:42:33 +00:00
corelib_2 [VM] Enable --limit-ints-to-64-bits in Dart 2.0 precompiler, v3. 2017-12-20 18:04:42 +00:00
dart Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
html Fixed default parameter messagePorts for MessageEvent factory. 2017-12-14 18:21:25 +00:00
isolate Update status files for simarm/simarm64/simdbc64 2017-12-14 15:34:15 +00:00
kernel [vm/testing] Make --strong -c dartk configuration a Dart 2.0 configuration. 2017-12-12 12:19:10 +00:00
language Revert "Produce an error if there would be an exception thrown by an assert in an initializer list" 2017-12-16 01:44:13 +00:00
language_2 [VM] Enable --limit-ints-to-64-bits in Dart 2.0 precompiler, v3. 2017-12-20 18:04:42 +00:00
lib [VM] Fix various issues in the VM, mainly simdbc64 related 2017-12-19 14:49:52 +00:00
lib_2 [VM] Enable --limit-ints-to-64-bits in Dart 2.0 precompiler, v3. 2017-12-20 18:04:42 +00:00
search Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
standalone [dart:io] Allow setting overrides in the root Zone 2017-12-18 22:46:07 +00:00
standalone_2 [VM] Enable --limit-ints-to-64-bits in Dart 2.0 precompiler, v3. 2017-12-20 18:04:42 +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.