tree: a7cada46d612f12560eae3c3e324bc5086c24705 [path history] [tgz]
  1. dartino/
  2. expression/
  3. extensions/
  4. general/
  5. incremental_initialize_from_dill/
  6. inference/
  7. inference_new/
  8. instantiate_to_bound/
  9. new_const_insertion/
  10. nnbd/
  11. no_such_method_forwarders/
  12. rasta/
  13. regress/
  14. runtime_checks/
  15. runtime_checks_new/
  16. set_literals/
  17. expression.status
  18. incremental.status
  19. incremental_bulk_compiler_full.status
  20. incremental_bulk_compiler_smoke.status
  21. legacy.status
  22. outline.status
  24. sdk.status
  25. strong.status
  26. text_serialization.status
  27. type_promotion_look_ahead.status


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.