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

Side by Side Diff: test/msvs/shared_output/gyptest-shared_output.py

Issue 10378042: Correct the order in which OutputDirectory and IntermediateDirectory are defined. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2012 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 Test checking that IntermediateDirectory can be defined in terms of
9 OutputDirectory. We previously had emitted the definition of
10 IntermediateDirectory before the definition of OutputDirectory.
11 This is required so that $(IntDir) can be based on $(OutDir).
12 """
13
14 import TestGyp
15 import os
16
17 test = TestGyp.TestGyp(workdir='workarea_shared_output', formats=['msvs'])
scottmg 2012/05/09 02:45:41 if there's things actually relying on this style o
bradn 2012/05/10 01:48:52 So this test is assuming that output goes in msvs
18
19 test.run_gyp('hello.gyp')
20 test.set_configuration('Baz')
21
22 test.build('there/there.gyp', test.ALL)
23 test.must_exist(os.path.join(test.workdir, 'foo', 'there.exe'))
24 test.must_exist(os.path.join(test.workdir, 'foo', 'bar', 'there.obj'))
25
26 test.build('hello.gyp', test.ALL)
27 test.must_exist(os.path.join(test.workdir, 'foo', 'hello.exe'))
28 test.must_exist(os.path.join(test.workdir, 'foo', 'bar', 'hello.obj'))
29
30 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698