3
# Copyright (c) 2009 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
test = TestGyp.TestGyp()
15
test.run_gyp('configurations.gyp')
17
test.set_configuration('Release')
18
test.build('configurations.gyp')
19
test.run_built_executable('configurations', stdout="Release configuration\n")
21
test.set_configuration('Debug')
22
test.build('configurations.gyp')
23
test.run_built_executable('configurations', stdout="Debug configuration\n")
25
test.set_configuration('Foo')
26
test.build('configurations.gyp')
27
test.run_built_executable('configurations', stdout="Foo configuration\n")