Commit Graph

10 Commits

Author SHA1 Message Date
Siva Annamalai bd2a8e1d60 Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory.
Bug:
Change-Id: I4ca50f315361422db1d4356055862463bfe1d6f3
Reviewed-on: https://dart-review.googlesource.com/12240
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
2017-10-07 01:29:36 +00:00
Siva Annamalai ff32187145 Revert "Migrate most of the tests in standalone to be strong mode clean and move"
This reverts commit c85563f582.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Migrate most of the tests in standalone to be strong mode clean and move
> them to standalone_2 directory.
> 
> Change-Id: I9887b8d6d4d86001e4660b400224b881205e6273
> Reviewed-on: https://dart-review.googlesource.com/6080
> Reviewed-by: Ben Konyi <bkonyi@google.com>

TBR=bkonyi@google.com,asiva@google.com

Change-Id: I3c7b6081f17fca45e7828603538f50d06417e2be
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/12020
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
2017-10-06 17:24:20 +00:00
Siva Annamalai c85563f582 Migrate most of the tests in standalone to be strong mode clean and move
them to standalone_2 directory.

Change-Id: I9887b8d6d4d86001e4660b400224b881205e6273
Reviewed-on: https://dart-review.googlesource.com/6080
Reviewed-by: Ben Konyi <bkonyi@google.com>
2017-10-06 17:07:34 +00:00
Bob Nystrom 6b7819ec5a Handle migration status entries into split up status files.
R=jcollins@google.com

Review-Url: https://codereview.chromium.org/2994573002 .
2017-08-04 13:49:30 -07:00
Bob Nystrom 95693b30a3 Add a script to run the tests in a migration block.
R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2987223002 .
2017-08-01 13:52:20 -07:00
Bob Nystrom 385b88f289 Migrate status file entries when migrating files. Yay!
This looks at all the files in the batch being migrated. It goes through
the status files in the 1.0 and strong directories. If it sees an entry
that matches that file, it adds it to the resulting "_2" status file.

It handles adding entries to an existing section if already present in
the new status file. Otherwise, it adds a new section at the end with
the entries.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2989033002 .
2017-07-28 11:10:30 -07:00
Bob Nystrom 1419935fa6 Better support for re-running in the middle of a migration.
- Track files that only exist in the "_2" directories. That way we can
  show what work still remains to be done even if the unmigrated files
  are gone.

- Friendlier matching of command line arguments. Pass in any substring
  of the test path and if only one test matches, it will be used.

- Make --dry-run not crash.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2988973002 .
2017-07-27 12:07:21 -07:00
Bob Nystrom 158e95a940 Report more heuristics for tests that require manual work.
If the contents of a test mention "checked", "TypeError", or
"AbstractClassInstantiationError", they will need some work. Tell the
user about those.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2991803003 .
2017-07-26 12:57:30 -07:00
Ben Konyi caf87da9ed Added functionality to dump relevant status file entries to a single file to make it easier to see which tests have which status file entries. Future work: remove entries from original status files.
BUG=
R=jcollins@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2987633002 .
2017-07-25 17:48:09 -07:00
Bob Nystrom 152bc2d538 Add simple test migration helper.
R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2987533002 .
2017-07-20 12:54:46 -07:00