summaryrefslogtreecommitdiff
path: root/deps/gyp/test/msvs/multiple_actions_error_handling
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/msvs/multiple_actions_error_handling')
-rw-r--r--deps/gyp/test/msvs/multiple_actions_error_handling/action_fail.py7
-rw-r--r--deps/gyp/test/msvs/multiple_actions_error_handling/action_succeed.py7
-rw-r--r--deps/gyp/test/msvs/multiple_actions_error_handling/actions.gyp40
-rw-r--r--deps/gyp/test/msvs/multiple_actions_error_handling/gyptest.py26
4 files changed, 0 insertions, 80 deletions
diff --git a/deps/gyp/test/msvs/multiple_actions_error_handling/action_fail.py b/deps/gyp/test/msvs/multiple_actions_error_handling/action_fail.py
deleted file mode 100644
index 286fc4e132..0000000000
--- a/deps/gyp/test/msvs/multiple_actions_error_handling/action_fail.py
+++ /dev/null
@@ -1,7 +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.
-
-import sys
-
-sys.exit(1)
diff --git a/deps/gyp/test/msvs/multiple_actions_error_handling/action_succeed.py b/deps/gyp/test/msvs/multiple_actions_error_handling/action_succeed.py
deleted file mode 100644
index 3554373197..0000000000
--- a/deps/gyp/test/msvs/multiple_actions_error_handling/action_succeed.py
+++ /dev/null
@@ -1,7 +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.
-
-import sys
-
-sys.exit(0)
diff --git a/deps/gyp/test/msvs/multiple_actions_error_handling/actions.gyp b/deps/gyp/test/msvs/multiple_actions_error_handling/actions.gyp
deleted file mode 100644
index ab99e929e2..0000000000
--- a/deps/gyp/test/msvs/multiple_actions_error_handling/actions.gyp
+++ /dev/null
@@ -1,40 +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': 'actions-test',
- 'type': 'none',
- 'actions': [
- {
- 'action_name': 'first action (fails)',
- 'inputs': [
- 'action_fail.py',
- ],
- 'outputs': [
- 'ALWAYS_OUT_OF_DATE',
- ],
- 'action': [
- 'python', '<@(_inputs)'
- ],
- 'msvs_cygwin_shell': 0,
- },
- {
- 'action_name': 'second action (succeeds)',
- 'inputs': [
- 'action_succeed.py',
- ],
- 'outputs': [
- 'ALWAYS_OUT_OF_DATE',
- ],
- 'action': [
- 'python', '<@(_inputs)'
- ],
- 'msvs_cygwin_shell': 0,
- },
- ],
- },
- ],
-}
diff --git a/deps/gyp/test/msvs/multiple_actions_error_handling/gyptest.py b/deps/gyp/test/msvs/multiple_actions_error_handling/gyptest.py
deleted file mode 100644
index 3aa6b8fdb2..0000000000
--- a/deps/gyp/test/msvs/multiple_actions_error_handling/gyptest.py
+++ /dev/null
@@ -1,26 +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.
-
-"""
-Verifies that failing actions make the build fail reliably, even when there
-are multiple actions in one project.
-"""
-
-import os
-import sys
-import TestGyp
-import TestCmd
-
-test = TestGyp.TestGyp(formats=['msvs'], workdir='workarea_all')
-
-test.run_gyp('actions.gyp')
-test.build('actions.gyp',
- target='actions-test',
- status=1,
- stdout=r'.*"cmd\.exe" exited with code 1\..*',
- match=TestCmd.match_re_dotall)
-
-test.pass_test()