summaryrefslogtreecommitdiff
path: root/test/rename
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2012-09-12 00:30:07 +0000
committerthakis@chromium.org <thakis@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2012-09-12 00:30:07 +0000
commit806ce27a3ad095f49eb6c3a136178f0b0230e72f (patch)
treeb16a467d5334942854e2db83fd47965ae80a187f /test/rename
parent986c94a9dbf47043bb0d346fb5cde86ab10feea6 (diff)
downloadgyp-806ce27a3ad095f49eb6c3a136178f0b0230e72f.tar.gz
Revert an unintended part of r1494.
`gcl commit case` somehow committed all changes in my checkout, not just the changes in CL `case`. Not sure what happened. (These files weren't part of the review either.) TBR=scottmg Review URL: https://chromiumcodereview.appspot.com/10913206 git-svn-id: http://gyp.googlecode.com/svn/trunk@1495 78cadc50-ecff-11dd-a971-7dbc132099af
Diffstat (limited to 'test/rename')
-rw-r--r--test/rename/extension/file.c2
-rw-r--r--test/rename/extension/file.cc2
-rw-r--r--test/rename/extension/test.gyp13
-rw-r--r--test/rename/gyptest-extension.py28
4 files changed, 0 insertions, 45 deletions
diff --git a/test/rename/extension/file.c b/test/rename/extension/file.c
deleted file mode 100644
index 5241aebb..00000000
--- a/test/rename/extension/file.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#include <stdio.h>
-int main() { printf("C\n"); return 0; }
diff --git a/test/rename/extension/file.cc b/test/rename/extension/file.cc
deleted file mode 100644
index e6c50f7d..00000000
--- a/test/rename/extension/file.cc
+++ /dev/null
@@ -1,2 +0,0 @@
-#include <stdio.h>
-int main() { printf("C++\n"); }
diff --git a/test/rename/extension/test.gyp b/test/rename/extension/test.gyp
deleted file mode 100644
index 16acdfb2..00000000
--- a/test/rename/extension/test.gyp
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright (c) 2012 Google Inc. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-{
- 'targets': [
- {
- 'target_name': 'extrename',
- 'type': 'executable',
- 'sources': [ 'file.c', ],
- },
- ],
-}
-
diff --git a/test/rename/gyptest-extension.py b/test/rename/gyptest-extension.py
deleted file mode 100644
index 03b7e1c7..00000000
--- a/test/rename/gyptest-extension.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python
-
-# Copyright (c) 2010 Google Inc. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""
-Checks that files whose extension changes get rebuilt correctly.
-"""
-
-import os
-import TestGyp
-
-# .c -> .cc renames don't work with make. # XXX
-test = TestGyp.TestGyp()#formats=['!make'])
-CHDIR = 'extension'
-test.run_gyp('test.gyp', chdir=CHDIR)
-test.build('test.gyp', test.ALL, chdir=CHDIR)
-test.run_built_executable('extrename', stdout="C\n", chdir=CHDIR)
-
-test.write('extension/test.gyp',
- test.read('extension/test.gyp').replace('file.c', 'file.cc'))
-test.run_gyp('test.gyp', chdir=CHDIR)
-test.build('test.gyp', test.ALL, chdir=CHDIR)
-test.run_built_executable('extrename', stdout="C++\n", chdir=CHDIR)
-
-test.pass_test()
-