| Index: test/win/gyptest-asm-files.py
|
| diff --git a/test/win/gyptest-asm-files.py b/test/win/gyptest-asm-files.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..007b52eb267688b6827356620a8f2a885bf29e20
|
| --- /dev/null
|
| +++ b/test/win/gyptest-asm-files.py
|
| @@ -0,0 +1,26 @@
|
| +#!/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 .s files aren't passed to cl.
|
| +"""
|
| +
|
| +import TestGyp
|
| +
|
| +import sys
|
| +
|
| +if sys.platform == 'win32':
|
| + test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
|
| +
|
| + CHDIR = 'asm-files'
|
| + test.run_gyp('asm-files.gyp', chdir=CHDIR)
|
| + # The compiler will error out if it's passed the .s files, so just make sure
|
| + # the build succeeds. The compiler doesn't directly support building
|
| + # assembler files on Windows, they have to be built explicitly with a
|
| + # third-party tool.
|
| + test.build('asm-files.gyp', test.ALL, chdir=CHDIR)
|
| +
|
| + test.pass_test()
|
|
|