OLD | NEW |
---|---|
(Empty) | |
1 #!/usr/bin/env python | |
2 | |
3 # Copyright (c) 2015 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 Verifies duplicate ldflags are not removed. | |
9 """ | |
10 | |
11 import TestGyp | |
12 | |
13 test = TestGyp.TestGyp(formats=['ninja']) | |
14 test.run_gyp('test.gyp') | |
15 | |
16 test.must_contain('out/Default/obj/All.ninja', | |
17 '-Wl,--whole-archive lib1.a -Wl,--no-whole-archive') | |
Nico
2015/06/25 16:02:21
Can you rewrite this to not inspect the ninja file
| |
18 test.must_contain('out/Default/obj/All.ninja', | |
19 '-Wl,--whole-archive lib2.a -Wl,--no-whole-archive') | |
20 | |
21 test.pass_test() | |
OLD | NEW |