| Index: test/msvs/multiple_actions_error_handling/gyptest.py
|
| diff --git a/test/msvs/multiple_actions_error_handling/gyptest.py b/test/msvs/multiple_actions_error_handling/gyptest.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3aa6b8fdb2b52b9e3f2b6a2f221cf91f8f1a4834
|
| --- /dev/null
|
| +++ b/test/msvs/multiple_actions_error_handling/gyptest.py
|
| @@ -0,0 +1,26 @@
|
| +#!/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()
|
|
|