blob: 8675d8f7e76b99469c77f2d6ecfbbffae3dd88ec [file] [log] [blame]
#!/usr/bin/env python
# Copyright (c) 2012 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 build of an executable in three different configurations.
import TestGyp
import sys
formats = ['msvs']
if sys.platform == 'win32':
formats += ['ninja']
test = TestGyp.TestGyp(formats=formats)
test.set_configuration('Debug|Win32')'configurations.gyp', test.ALL)
for machine, suffix in [('14C machine (x86)', ''),
('8664 machine (x64)', '64')]:
output = test.run_dumpbin(
'/headers', test.built_file_path('configurations%s.exe' % suffix))
if machine not in output: