Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(898)

Side by Side Diff: test/win/gyptest-ml-safeseh.py

Issue 217813007: Pass the /safeseh option to ml.exe. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Add a unit test gyptest-ml-safeseh.py Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
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.
6
7 """
8 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.
9 """
10
11 import TestGyp
12
13 import sys
14
15 if sys.platform == 'win32':
wtc 2014/04/10 02:42:00 This test is only applicable to 32-bit x86 (ia32)
16 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
17
18 CHDIR = 'ml-safeseh'
19 test.run_gyp('ml-safeseh.gyp', chdir=CHDIR)
20 test.build('ml-safeseh.gyp', test.ALL, chdir=CHDIR)
21
22 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698