| Index: test/win/gyptest-link_additional_deps.py
|
| diff --git a/test/win/gyptest-link_additional_deps.py b/test/win/gyptest-link_additional_deps.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ea6545883df2943df773d5b65d64c8b6c9799b18
|
| --- /dev/null
|
| +++ b/test/win/gyptest-link_additional_deps.py
|
| @@ -0,0 +1,29 @@
|
| +#!/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 additional library dependencies are handled.
|
| +"""
|
| +
|
| +import TestGyp
|
| +
|
| +import subprocess
|
| +import sys
|
| +
|
| +if sys.platform == 'win32':
|
| + test = TestGyp.TestGyp(formats=['ninja'])
|
| +
|
| + CHDIR = 'linker_flags'
|
| + test.run_gyp('additional-deps.gyp', chdir=CHDIR)
|
| +
|
| + ninja_file = test.built_file_path('obj/test_deps_none.ninja', chdir=CHDIR)
|
| + # Just don't error on generation.
|
| +
|
| + ninja_file = test.built_file_path('obj/test_deps_few.ninja',
|
| + chdir=CHDIR)
|
| + test.must_contain(ninja_file, 'ldflags = wininet.lib ws2_32.lib')
|
| +
|
| + test.pass_test()
|
|
|