Commit Graph

97 Commits

Author SHA1 Message Date
whesse@google.com acd03abf83 dart:io: Use PathBuffer class for Directory.list on Windows platform.
BUG=https://code.google.com/p/dart/issues/detail?id=7505

Review URL: https://codereview.chromium.org//12252006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18448 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 15:00:55 +00:00
rnystrom@google.com 1b15bef29f Mark oauth2 and pub_uploader as flaky. :(
Review URL: https://codereview.chromium.org//12251008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18416 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 23:46:56 +00:00
rnystrom@google.com fcab5f5adb Fix hosted tests on Windows.
BUG=http://dartbug.com/8264

Review URL: https://codereview.chromium.org//12208006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18113 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 04:32:40 +00:00
rnystrom@google.com cf697141d9 Get most pub IO tests passing on Windows.
The remaining issue now is a hang in dart:io.

BUG=

Review URL: https://codereview.chromium.org//12211004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18112 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 04:18:34 +00:00
nweiz@google.com 193eac0d3c Un-mark {pub_{uploader,lish},oauth2}_test as flaky.
We need to see when these go red so they stop bit rotting.

Review URL: https://codereview.chromium.org//12195006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18105 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 01:09:57 +00:00
nweiz@google.com dfb2a2f23d Mark pub hosted tests as flaky on Windows.
BUG=8264

Review URL: https://codereview.chromium.org//12184019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18077 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 20:52:31 +00:00
nweiz@google.com 342e7a4c1a Don't mark the few passing hosted pub tests as failing.
Review URL: https://codereview.chromium.org//12082127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18008 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 22:43:23 +00:00
nweiz@google.com 6565bb80ef Stop using cURL in Pub.
BUG=7395

Review URL: https://codereview.chromium.org//12090104

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18007 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 22:35:33 +00:00
nweiz@google.com 6c3535dceb Fix the Pub status file.
Review URL: https://codereview.chromium.org//12149006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18006 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 21:55:44 +00:00
nweiz@google.com aac9fcda5a Mark pub hosted tests as failing.
Review URL: https://codereview.chromium.org//12082124

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17997 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:55:11 +00:00
ricow@google.com b410b64719 Mark pub/oauth2_test as timeout as well as pass,fail
Review URL: https://codereview.chromium.org//12086078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17885 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 07:26:23 +00:00
nweiz@google.com e0867a91d1 Mark pub tests as flaky.
BUG=7905,7920

Review URL: https://codereview.chromium.org//11944003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17107 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 00:15:29 +00:00
nweiz@google.com 59cbc77eaf Increase the step timeout in scheduled pub tests.
Also un-mark the uploaders test as flaky.

BUG=7879

Review URL: https://codereview.chromium.org//11881033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17039 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 00:44:31 +00:00
ricow@google.com e5b51f0196 Mark pub/pub_uploader_test as flaky.
Filed http://dartbug.com/7879
Review URL: https://codereview.chromium.org//11881016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17010 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 07:07:29 +00:00
nweiz@google.com 4774c5b7cf Un-mark pub_lish_test as flaky now that socket issues are resolved.
BUG=7819

Review URL: https://codereview.chromium.org//11826067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16944 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 00:06:25 +00:00
ricow@google.com 2f128089e7 Mark pub/pub_lish_test as flaky on linux.
This has been flaking a lot recently.

Filed high priority bug 7819
Review URL: https://codereview.chromium.org//11778090

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16902 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 08:23:57 +00:00
floitsch@google.com f020a7d270 Add 'timeout' for io_test.
This reintroduces the change from https://codereview.chromium.org/11648033/
which was reverted in https://codereview.chromium.org/11570065/.

Review URL: https://codereview.chromium.org//11660003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16425 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 09:48:33 +00:00
floitsch@google.com 5271b558c2 Close receivePort when tests are failing.
Review URL: https://codereview.chromium.org//11570065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16422 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 09:37:48 +00:00
floitsch@google.com bef5bcf8b4 Update status file.
Review URL: https://codereview.chromium.org//11648033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16395 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 20:09:26 +00:00
ager@google.com 87a38c4546 Fix pub suppression
R=ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//11648008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16310 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 10:24:14 +00:00
ricow@google.com e652efe397 Suppress flake for pub/io_test on windows
Review URL: https://codereview.chromium.org//11637013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16307 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 08:49:10 +00:00
rnystrom@google.com f0154d3b5a Fix #7330.
Review URL: https://codereview.chromium.org//11558022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16056 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 19:49:26 +00:00
nweiz@google.com 8c3148b8b8 Mark the Pub validator test as failing on mac.
Review URL: https://codereview.chromium.org//11552004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16013 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 01:47:38 +00:00
rnystrom@google.com 10f914c414 Get pub_lish tests running on Windows.
There were two issues:

1. We were printing 7zip's stderr to pub's stderr which confuses the tests that look for certain errors.
2. Sometimes deleting the sandbox fails because the spawned pub process hasn't shut down yet. To handle that, we just retry the delete a few times. <sigh>

Review URL: https://codereview.chromium.org//11522006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15935 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 23:11:21 +00:00
rnystrom@google.com cf5ab6030e Revert "By default use current code page on Windows for decoding string"
This reverts commit c247cd299958d0ee713dcfef8aaf44d230a3a7e0.

Revert "Fix memory leaks in system string patch"

This reverts commit 5e533a0c383518fc1851fbdc01a796f7d6b077f8.

Review URL: https://codereview.chromium.org//11446067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15854 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 18:49:52 +00:00
rnystrom@google.com 2b3c4cd639 Make directory renaming more resilient on Windows.
BUG=

Review URL: https://codereview.chromium.org//11348332

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15608 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 22:39:45 +00:00
nweiz@google.com 806e8a5432 Mark pub oauth2 and curl_client tests as skip on Windows.
Review URL: https://codereview.chromium.org//11308262

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15488 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 00:52:00 +00:00
nweiz@google.com ff3ab9a439 Mark the pub oauth2_test as failing on Windows.
Review URL: https://codereview.chromium.org//11418227

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15483 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 00:39:07 +00:00
rnystrom@google.com e7382431ba Get archive creation working on Windows.
Review URL: https://codereview.chromium.org//11348288

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15482 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 00:20:28 +00:00
nweiz@google.com 2df3fd15b2 The macos pub tests are working again.
BUG=

Review URL: https://codereview.chromium.org//11421136

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15479 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 23:34:34 +00:00
nweiz@google.com c2d351b552 Mark pub Windows tests as failing.
Review URL: https://codereview.chromium.org//11348266

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15432 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 01:46:55 +00:00
rnystrom@google.com d2213763e0 Make pub git tests fast on windows again.
BUG=

Review URL: https://codereview.chromium.org//11428037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15424 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 23:21:04 +00:00
nweiz@google.com 8161b23167 Fix or mark "pub lish" build failures.
Review URL: https://codereview.chromium.org//11411201

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15423 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 23:10:47 +00:00
rnystrom@google.com 8ce4fd1895 Mark the pub tests as slow/timeout on Windows.
Review URL: https://codereview.chromium.org//11421085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15361 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 00:57:36 +00:00
rnystrom@google.com d824a21ef4 Git tests on Windows are fast now.
Review URL: https://codereview.chromium.org//11414170

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15348 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 22:03:36 +00:00
nweiz@google.com 500db0fb88 Enable CurlClient tests on Windows by bundling curl.exe.
BUG=6777

Review URL: https://codereview.chromium.org//11414044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15117 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 22:55:30 +00:00
nweiz@google.com f4e557d746 Move CurlClient to Pub so that it can access resources.
This CL also enables tests for the client on Linux and OS X.

Review URL: https://codereview.chromium.org//11299028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15047 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-17 01:15:45 +00:00
rnystrom@google.com c8d4f7dd50 Mark pub windows git tests as potentially timing out.
Review URL: https://codereview.chromium.org//11361163

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14672 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 01:44:08 +00:00
rnystrom@google.com bf31c85b6f Pass absolute path to git.
BUG=

Review URL: https://codereview.chromium.org//11364141

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14670 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 01:01:13 +00:00
rnystrom@google.com 9c0ace0797 Revert "Pass absolute path to git (redux)."
This reverts commit 9d638b8a9a48c7bae854685f9413d2c40a4911a1.

BUG=

Review URL: https://codereview.chromium.org//11361158

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14661 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:25:31 +00:00
rnystrom@google.com 930a3f1d7e Pass absolute path to git (redux).
Review URL: https://codereview.chromium.org//11312133

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14659 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:20:18 +00:00
rnystrom@google.com 0caf122ecd Revert "Pass absolute path to 'git clone'."
This reverts commit db4155692da9cda80ef558886eeea35e963fe1c6.

BUG=

Review URL: https://codereview.chromium.org//11360133

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14655 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 22:12:20 +00:00
rnystrom@google.com 8bea0cc487 Pass absolute path to 'git clone'.
Review URL: https://codereview.chromium.org//11390003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14654 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 22:03:53 +00:00
rnystrom@google.com f50263acb9 Revert "Try setting the working directory explicitly."
This reverts commit 71ae3f9bcae7ff111a3f360384ec148f1c2079b2.

BUG=

Review URL: https://codereview.chromium.org//11383003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14652 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 21:00:43 +00:00
rnystrom@google.com c5fb8014cb Try setting the working directory explicitly.
This shouldn't be necessary but I want to see if this makes the
Windows buildbots happy.

BUG=

Review URL: https://codereview.chromium.org//11377036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14650 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 20:49:40 +00:00
ager@google.com 0f11f4baa0 Skip git pub tests as they do not work on Windows buildbots.
They work locally on my machine.

R=rnystrom@google.com
BUG=

Review URL: https://codereview.chromium.org//11227053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13966 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 14:04:25 +00:00
ager@google.com 57d5cd2278 Remove second sleep in pub and enable pub tests on Windows.
After the inherit fix I cannot reproduce the other 7zip
problem either so I'm removing the sleep call. All tests
pass on my machine.

Bob, could you test this with all of your migthty pub
power and see if you can make it break?

R=sgjesse@google.com,rnystrom@google.com
BUG=dartbug.com/5910

Review URL: https://codereview.chromium.org//11225056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13964 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:56:54 +00:00
rnystrom@google.com fc169ee8b2 "Reverting 13451"
Review URL: https://codereview.chromium.org//11066091

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13452 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 23:32:21 +00:00
rnystrom@google.com 87f5622b44 Print out the working directory when git fails.
Also (sigh) re-enabling Windows again.

Review URL: https://codereview.chromium.org//11087039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13451 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 23:26:43 +00:00
rnystrom@google.com e9ff2669b8 "Reverting 13440"
Review URL: https://codereview.chromium.org//11099019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13441 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:02:26 +00:00