3
# Copyright (c) 2014 Google Inc. All rights reserved.
4
# Use of this source code is governed by a BSD-style license that can be
5
# found in the LICENSE file.
8
Verifies that ninja errors out when encountering msvs_prebuild/msvs_postbuild.
16
if sys.platform == 'win32':
17
test = TestGyp.TestGyp(formats=['ninja'])
19
test.run_gyp('buildevents.gyp',
21
stderr=r'.*msvs_prebuild not supported \(target main\).*',
22
match=TestCmd.match_re_dotall)
24
test.run_gyp('buildevents.gyp',
26
stderr=r'.*msvs_postbuild not supported \(target main\).*',
27
match=TestCmd.match_re_dotall)