Update unittest to 0.11.x. Check out unittest from chromium.googlesource.
Change-Id: I35fbf7d18cf596c23fcdc9c702cc1a6d498a4691
Reviewed-on: https://dart-review.googlesource.com/65320
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: William Hesse <whesse@google.com>
diff --git a/DEPS b/DEPS
index 84c1671..21df396 100644
--- a/DEPS
+++ b/DEPS
@@ -135,6 +135,7 @@
"test_tag": "1.0.0",
"tuple_tag": "v1.0.1",
"typed_data_tag": "1.1.3",
+ "unittest_rev": "2b8375bc98bb9dc81c539c91aaea6adce12e1072",
"usage_tag": "3.4.0",
"utf_tag": "0.9.0+4",
"watcher_rev": "908d74c6ed0889fa9bd7939c72bcc287e4f581fd",
@@ -346,6 +347,12 @@
Var("dart_git") + "tuple.git" + "@" + Var("tuple_tag"),
Var("dart_root") + "/third_party/pkg/typed_data":
Var("dart_git") + "typed_data.git" + "@" + Var("typed_data_tag"),
+ # Unittest is an early version, 0.11.x, of the package "test"
+ # Do not use it in any new tests. Fetched from chromium_git to avoid
+ # race condition in cache with pkg/test.
+ Var("dart_root") + "/third_party/pkg/unittest":
+ Var("chromium_git") + "/external/github.com/dart-lang/test.git" +
+ "@" + Var("unittest_rev"),
Var("dart_root") + "/third_party/pkg/usage":
Var("dart_git") + "usage.git" + "@" + Var("usage_tag"),
Var("dart_root") + "/third_party/pkg/utf":
@@ -415,22 +422,6 @@
],
},
{
- "name": "unittest",
- # Unittest is an early version, 0.11.6, of the package "test"
- # Do not use it in any new tests.
- "pattern": ".",
- "action": [
- "download_from_google_storage",
- "--no_auth",
- "--no_resume",
- "--bucket",
- "dart-dependencies",
- "--extract",
- "-s",
- Var('dart_root') + "/third_party/pkg/unittest.tar.gz.sha1",
- ],
- },
- {
"name": "7zip",
"pattern": ".",
"action": [
diff --git a/third_party/pkg/unittest.tar.gz.sha1 b/third_party/pkg/unittest.tar.gz.sha1
deleted file mode 100644
index 08c01a5..0000000
--- a/third_party/pkg/unittest.tar.gz.sha1
+++ /dev/null
@@ -1 +0,0 @@
-f59bbc8788aa01618a5b7f143ef7c82068c86b0f
\ No newline at end of file