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