Tests: Rename a gyptest*.gyp file to gyptest*.py.

The test runner silently runs gyptest*.gyp files if invoked with a single test,
but doesn't run them when asked to run all tests.

This test happens to still pass, so rename it so that the bots will check that
it keeps passing.

R=mark@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1708 78cadc50-ecff-11dd-a971-7dbc132099af
ninja/mac: Don't write an empty binary into sourceless bundles.

I fixed this issue once in https://codereview.chromium.org/9121011/ but added
the test in the wrong way so that it's not run automatically, and
https://codereview.chromium.org/9107028 broke that again.

Rename the test from .gyp to .py to make sure the bots run it, so that it
doesn't break again.

BUG=chromium:280718
R=mark@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1709 78cadc50-ecff-11dd-a971-7dbc132099af
Test runner: Error on running misnamed individual tests.

This is to prevent mistakes like r1708 in the future.

R=mark@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1710 78cadc50-ecff-11dd-a971-7dbc132099af
ninja/mac: Fix a regression from r1709.

r1709 set the output of a target to the stamp file if the target has no
linkable object files.  That's ok, but Target.Linkable() still considered
the target to be linkable, so the linker then tried to link in the stamp
file, which made ld complain (see e.g.
http://build.chromium.org/p/tryserver.chromium/builders/mac/builds/82504/steps/compile/logs/stdio
).  As a fix, set the target type to None if it doesn't have a binary, the
Linkable() will return False.

R=mark@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1711 78cadc50-ecff-11dd-a971-7dbc132099af
ninja: Stop lower-casing outputs on case-insensitive file systems.

This was added to fix a problem with file renames that rename a file only
in captialization (https://chromiumcodereview.appspot.com/10907140).  Now
that we use depsmode (which reads deps from a flat text file instead of
doing a lookup for a depsfile on the file system, and which always does
so case-sensitively), this is no longer necessary.  The test we added
when we added this hack still passes.

R=scottmg@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1712 78cadc50-ecff-11dd-a971-7dbc132099af