diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/rename/extension/file.c | 2 | ||||
-rw-r--r-- | test/rename/extension/file.cc | 2 | ||||
-rw-r--r-- | test/rename/extension/test.gyp | 13 | ||||
-rw-r--r-- | test/rename/gyptest-extension.py | 28 |
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() - |