OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 # Copyright (c) 2012 Google Inc. All rights reserved. | 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 | 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 the 'Profile' attribute in VCLinker is extracted properly. | 8 Verifies that the 'Profile' attribute in VCLinker is extracted properly. |
9 """ | 9 """ |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 # '.idata' section will be missing when /PROFILE is enabled. | 27 # '.idata' section will be missing when /PROFILE is enabled. |
28 if '.idata' in GetSummary('test_profile_true.exe'): | 28 if '.idata' in GetSummary('test_profile_true.exe'): |
29 test.fail_test() | 29 test.fail_test() |
30 | 30 |
31 if not '.idata' in GetSummary('test_profile_false.exe'): | 31 if not '.idata' in GetSummary('test_profile_false.exe'): |
32 test.fail_test() | 32 test.fail_test() |
33 | 33 |
34 if not '.idata' in GetSummary('test_profile_default.exe'): | 34 if not '.idata' in GetSummary('test_profile_default.exe'): |
35 test.fail_test() | 35 test.fail_test() |
36 | 36 |
37 test.pass_test() | 37 test.pass_test() |
OLD | NEW |