summaryrefslogtreecommitdiff
path: root/test/rename/gyptest-extension.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/rename/gyptest-extension.py')
-rw-r--r--test/rename/gyptest-extension.py28
1 files changed, 0 insertions, 28 deletions
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()
-