Make more tests pass on Windows.

Also fix a few issues found along the way.

Tests had regressed a lot. Add a lot of tweaks to make most test pass.

R=dpranke@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/6792060

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@80618 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 3002447..a3aad50 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -51,6 +51,10 @@
 def RunGitClTests(input_api, output_api, verbose):
   """Run all the shells scripts in the directory test.
   """
+  if input_api.platform == 'win32':
+    # Skip for now as long as the test scripts are bash scripts.
+    return []
+
   # First loads a local Rietveld instance.
   import sys
   old_sys_path = sys.path