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