| Index: test/win/gyptest-link_default_libs.py
|
| diff --git a/test/win/gyptest-link_default_libs.py b/test/win/gyptest-link_default_libs.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..356702b82a6b96252449f09851ed559644fc7c28
|
| --- /dev/null
|
| +++ b/test/win/gyptest-link_default_libs.py
|
| @@ -0,0 +1,30 @@
|
| +#!/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.
|
| +
|
| +"""
|
| +Make sure we include the default libs.
|
| +"""
|
| +
|
| +import TestGyp
|
| +
|
| +import subprocess
|
| +import sys
|
| +
|
| +if sys.platform == 'win32':
|
| + test = TestGyp.TestGyp(formats=['ninja'])
|
| +
|
| + CHDIR = 'linker_flags'
|
| + test.run_gyp('default-libs.gyp', chdir=CHDIR)
|
| +
|
| + ninja_file = test.built_file_path('obj/test_default.ninja',
|
| + chdir=CHDIR)
|
| + test.must_contain(ninja_file, 'kernel32.lib')
|
| + test.must_contain(ninja_file, 'user32.lib')
|
| + test.must_contain(ninja_file, 'gdi32.lib')
|
| + test.must_contain(ninja_file, 'comdlg32.lib')
|
| + test.must_contain(ninja_file, 'DelayImp.lib')
|
| +
|
| + test.pass_test()
|
|
|