diff options
Diffstat (limited to 'deps/gyp/test/link-objects')
-rw-r--r-- | deps/gyp/test/link-objects/base.c | 6 | ||||
-rw-r--r-- | deps/gyp/test/link-objects/extra.c | 5 | ||||
-rwxr-xr-x | deps/gyp/test/link-objects/gyptest-all.py | 28 | ||||
-rw-r--r-- | deps/gyp/test/link-objects/link-objects.gyp | 24 |
4 files changed, 0 insertions, 63 deletions
diff --git a/deps/gyp/test/link-objects/base.c b/deps/gyp/test/link-objects/base.c deleted file mode 100644 index 3327459205..0000000000 --- a/deps/gyp/test/link-objects/base.c +++ /dev/null @@ -1,6 +0,0 @@ -void extra(); - -int main(void) { - extra(); - return 0; -} diff --git a/deps/gyp/test/link-objects/extra.c b/deps/gyp/test/link-objects/extra.c deleted file mode 100644 index 1d7ee09b10..0000000000 --- a/deps/gyp/test/link-objects/extra.c +++ /dev/null @@ -1,5 +0,0 @@ -#include <stdio.h> - -void extra() { - printf("PASS\n"); -} diff --git a/deps/gyp/test/link-objects/gyptest-all.py b/deps/gyp/test/link-objects/gyptest-all.py deleted file mode 100755 index 45bd6e1891..0000000000 --- a/deps/gyp/test/link-objects/gyptest-all.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env python - -# Copyright (c) 2011 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. - -""" -Put an object file on the sources list. -Expect the result to link ok. -""" - -import TestGyp - -import sys - -if sys.platform != 'darwin': - # Currently only works under the linux make build. - test = TestGyp.TestGyp(formats=['make']) - - test.run_gyp('link-objects.gyp') - - test.build('link-objects.gyp', test.ALL) - - test.run_built_executable('link-objects', stdout="PASS\n") - - test.up_to_date('link-objects.gyp', test.ALL) - - test.pass_test() diff --git a/deps/gyp/test/link-objects/link-objects.gyp b/deps/gyp/test/link-objects/link-objects.gyp deleted file mode 100644 index ab72855531..0000000000 --- a/deps/gyp/test/link-objects/link-objects.gyp +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (c) 2009 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': 'link-objects', - 'type': 'executable', - 'actions': [ - { - 'action_name': 'build extra object', - 'inputs': ['extra.c'], - 'outputs': ['extra.o'], - 'action': ['gcc', '-o', 'extra.o', '-c', 'extra.c'], - 'process_outputs_as_sources': 1, - }, - ], - 'sources': [ - 'base.c', - ], - }, - ], -} |