summaryrefslogtreecommitdiff
path: root/deps/gyp/test/ninja/use-console
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/ninja/use-console')
-rw-r--r--deps/gyp/test/ninja/use-console/foo.bar5
-rw-r--r--deps/gyp/test/ninja/use-console/gyptest-use-console.py29
-rw-r--r--deps/gyp/test/ninja/use-console/use-console.gyp60
3 files changed, 0 insertions, 94 deletions
diff --git a/deps/gyp/test/ninja/use-console/foo.bar b/deps/gyp/test/ninja/use-console/foo.bar
deleted file mode 100644
index 07c476a866..0000000000
--- a/deps/gyp/test/ninja/use-console/foo.bar
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright (c) 2014 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.
-
-This is a dummy file for rule/action input.
diff --git a/deps/gyp/test/ninja/use-console/gyptest-use-console.py b/deps/gyp/test/ninja/use-console/gyptest-use-console.py
deleted file mode 100644
index f76fcd9829..0000000000
--- a/deps/gyp/test/ninja/use-console/gyptest-use-console.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-
-# Copyright (c) 2014 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.
-
-"""
-Make sure 'ninja_use_console' is supported in actions and rules.
-"""
-
-import TestGyp
-
-test = TestGyp.TestGyp(formats=['ninja'])
-
-test.run_gyp('use-console.gyp')
-
-no_pool = open(test.built_file_path('obj/no_pool.ninja')).read()
-if 'pool =' in no_pool:
- test.fail_test()
-
-action_pool = open(test.built_file_path('obj/action_pool.ninja')).read()
-if 'pool = console' not in action_pool:
- test.fail_test()
-
-rule_pool = open(test.built_file_path('obj/rule_pool.ninja')).read()
-if 'pool = console' not in rule_pool:
- test.fail_test()
-
-test.pass_test()
diff --git a/deps/gyp/test/ninja/use-console/use-console.gyp b/deps/gyp/test/ninja/use-console/use-console.gyp
deleted file mode 100644
index 84e63184c6..0000000000
--- a/deps/gyp/test/ninja/use-console/use-console.gyp
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright (c) 2014 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': 'no_pool',
- 'type': 'none',
- 'actions': [
- {
- 'action_name': 'some_action',
- 'action': ['echo', 'hello'],
- 'inputs': ['foo.bar'],
- 'outputs': ['dummy'],
- },
- ],
- 'rules': [
- {
- 'rule_name': 'some_rule',
- 'extension': 'bar',
- 'action': ['echo', 'hello'],
- 'outputs': ['dummy'],
- },
- ],
- 'sources': [
- 'foo.bar',
- ],
- },
- {
- 'target_name': 'action_pool',
- 'type': 'none',
- 'actions': [
- {
- 'action_name': 'some_action',
- 'action': ['echo', 'hello'],
- 'inputs': ['foo.bar'],
- 'outputs': ['dummy'],
- 'ninja_use_console': 1,
- },
- ],
- },
- {
- 'target_name': 'rule_pool',
- 'type': 'none',
- 'rules': [
- {
- 'rule_name': 'some_rule',
- 'extension': 'bar',
- 'action': ['echo', 'hello'],
- 'outputs': ['dummy'],
- 'ninja_use_console': 1,
- },
- ],
- 'sources': [
- 'foo.bar',
- ],
- },
- ],
-}