OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 # Copyright (c) 2014 Google Inc. All rights reserved. | 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 | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 """ | 7 """ |
8 Verifies that extra filters are pruned correctly for Visual Studio 2010 | 8 Verifies that extra filters are pruned correctly for Visual Studio 2010 |
9 and later. | 9 and later. |
10 """ | 10 """ |
(...skipping 29 matching lines...) Expand all Loading... |
40 <ItemGroup> | 40 <ItemGroup> |
41 <ClCompile Include="..\\folder1\\nested\\a.c"> | 41 <ClCompile Include="..\\folder1\\nested\\a.c"> |
42 <Filter>folder1\\nested</Filter> | 42 <Filter>folder1\\nested</Filter> |
43 </ClCompile> | 43 </ClCompile> |
44 <ClCompile Include="..\\folder2\\d.c"> | 44 <ClCompile Include="..\\folder2\\d.c"> |
45 <Filter>folder2</Filter> | 45 <Filter>folder2</Filter> |
46 </ClCompile> | 46 </ClCompile> |
47 <ClCompile Include="..\\folder1\\nested\\b.c"> | 47 <ClCompile Include="..\\folder1\\nested\\b.c"> |
48 <Filter>folder1\\nested</Filter> | 48 <Filter>folder1\\nested</Filter> |
49 </ClCompile> | 49 </ClCompile> |
50 <ClCompile Include="..\\folder1\\other\c.c"> | 50 <ClCompile Include="..\\folder1\\other\\c.c"> |
51 <Filter>folder1\\other</Filter> | 51 <Filter>folder1\\other</Filter> |
52 </ClCompile> | 52 </ClCompile> |
53 </ItemGroup> | 53 </ItemGroup> |
54 '''.replace('\n', '\r\n')) | 54 '''.replace('\n', '\r\n')) |
55 | 55 |
56 | 56 |
57 test.pass_test() | 57 test.pass_test() |
OLD | NEW |