3
# Copyright (c) 2010 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 build of an executable in three different configurations.
13
# Keys that do not belong inside a configuration dictionary.
14
invalid_configuration_keys = [
16
'all_dependent_settings',
19
'direct_dependent_settings',
27
test = TestGyp.TestGyp()
29
for test_key in invalid_configuration_keys:
30
test.run_gyp('%s.gyp' % test_key, status=1, stderr=None)
31
expect = ['%s not allowed in the Debug configuration, found in target '
32
'%s.gyp:configurations#target' % (test_key, test_key)]
33
test.must_contain_all_lines(test.stderr(), expect)