tree: 86772f4e4316a3e2234da85fe2cd9feaffb656e0 [path history] [tgz]
  1. agnostic/
  2. aot/
  3. const_functions/
  4. dart2js/
  5. dartdevc/
  6. dartino/
  7. expression/
  8. extension_types/
  9. extensions/
  10. general/
  11. generic_metadata/
  12. implicit_getter_calls/
  13. incremental/
  14. inference/
  15. inference_new/
  16. instantiate_to_bound/
  17. late_lowering/
  18. late_lowering_sentinel/
  19. new_const_insertion/
  20. nnbd/
  21. nnbd_mixed/
  22. no_such_method_forwarders/
  23. none/
  24. nonfunction_type_aliases/
  25. rasta/
  26. regress/
  27. runtime_checks/
  28. runtime_checks_new/
  29. set_literals/
  30. static_field_lowering/
  31. triple_shift/
  32. unified_collections/
  33. value_class/
  34. variance/
  35. expression.status
  36. incremental.status
  37. incremental_bulk_compiler_full.status
  38. incremental_bulk_compiler_smoke.status
  39. incremental_dartino.status
  40. outline.status
  41. README.md
  42. sdk.status
  43. strong.status
  44. text_serialization.status
  45. textual_outline.status
  46. weak.status
pkg/front_end/testcases/README.md

Overview

The testcases in this directory and its subdirectory are all compiled in various different configurations designed to test various aspects of Fasta (or more generally, package:front_end).

The configurations are described below.

The source of truth for these configurations is the file pkg/front_end/testing.json.

Dart 1.0 Compilation

./pkg/front_end/tool/fasta testing -DupdateExpectations=true compile/test1 compile/test2 ...

Dart 1.0 Outlines

./pkg/front_end/tool/fasta testing -DupdateExpectations=true outline/test1 outline/test2 ...

Dart 2.0 (strong mode)

./pkg/front_end/tool/fasta testing -DupdateExpectations=true -DupdateComments=true strong/test1 strong/test2 ...

Note: strong mode configuration additionally parses comments in the test file and can precisely match internal details of the compiler such as the inferred type of an expression or if a warning was emitted at a given location.