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 Ensure that ninja includes the .pdb as an output file from linking.
16 if sys.platform == 'win32':
17 test = TestGyp.TestGyp(formats=['ninja'])
18 CHDIR = 'linker-flags'
19 test.run_gyp('pdb-output.gyp', chdir=CHDIR)
20 # Note, building the pdbs rather than ALL or gyp target.
21 test.build('pdb-output.gyp', 'output_exe.pdb', chdir=CHDIR)
22 test.build('pdb-output.gyp', 'output_dll.pdb', chdir=CHDIR)
25 full_path = test.built_file_path(pdb, chdir=CHDIR)
26 return os.path.isfile(full_path)
28 if not FindFile('output_exe.pdb'):
30 if not FindFile('output_dll.pdb'):