Chromium Code Reviews| Index: test/win/gyptest-ml-safeseh.py |
| diff --git a/test/win/gyptest-ml-safeseh.py b/test/win/gyptest-ml-safeseh.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ec702b9df2f5fbc7b98dd9d73a4175c8f4ec1d60 |
| --- /dev/null |
| +++ b/test/win/gyptest-ml-safeseh.py |
| @@ -0,0 +1,22 @@ |
| +#!/usr/bin/env python |
| + |
| +# Copyright (c) 2014 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 the /safeseh option can be passed to ml. |
|
wtc
2014/04/10 02:42:00
Do I need to add this test (gyptest-ml-safeseh.py)
scottmg
2014/04/10 03:31:51
No, they're globbed.
|
| +""" |
| + |
| +import TestGyp |
| + |
| +import sys |
| + |
| +if sys.platform == 'win32': |
|
wtc
2014/04/10 02:42:00
This test is only applicable to 32-bit x86 (ia32)
|
| + test = TestGyp.TestGyp(formats=['ninja']) |
|
wtc
2014/04/10 02:42:00
Although I removed 'msvs' from this line, gyptest.
scottmg
2014/04/10 03:31:51
That's as expected.
wtc
2014/04/10 18:21:48
I took a quick look at generator/msvs.py. It doesn
scottmg
2014/04/10 19:23:22
Yes, Chromium only uses ninja now, but we have his
|
| + |
| + CHDIR = 'ml-safeseh' |
| + test.run_gyp('ml-safeseh.gyp', chdir=CHDIR) |
| + test.build('ml-safeseh.gyp', test.ALL, chdir=CHDIR) |
| + |
| + test.pass_test() |