OLD | NEW |
1 This directory contains test data for //chrome/common/safe_browsing unit tests | 1 This directory contains test data for //chrome/common/safe_browsing unit tests |
2 on Mac OS X. The compiled binaries are checked in because the tests check | 2 on Mac OS X. The compiled binaries are checked in because the tests check |
3 specific values in the load commands, which will change on being recompiled. | 3 specific values in the load commands, which will change on being recompiled. |
4 | 4 |
5 In the event that the tests need to evolve, a Makefile is provided to recreate | 5 In the event that the tests need to evolve, a Makefile is provided to recreate |
6 the binaries. Note that recompiling or re-code-signing the binaries will | 6 the binaries. Note that recompiling or re-code-signing the binaries will |
7 require updating the test's assertions. | 7 require updating the test's assertions. |
8 | 8 |
9 Note that the executable bit has been removed from all of executable files, | 9 Note that the executable bit has been removed from all of executable files, |
10 since they do not have a common extension (for checkperms.py) and they are | 10 since they do not have a common extension (for checkperms.py) and they are |
11 only ever treated as data. | 11 only ever treated as data. |
12 | 12 |
13 The `executableppc' file has no Makefile target, as modern Macs cannot build | 13 The `executableppc' file has no Makefile target, as modern Macs cannot build |
14 for PPC. This file was created in a 10.6 VM with Xcode 3.2.6. | 14 for PPC. This file was created in a 10.6 VM with Xcode 3.2.6. |
| 15 |
| 16 Creating the signed binaries requires importing a temporary codesigning |
| 17 identity into the current user's keychain. This is because the `codesign -k` |
| 18 flag, which specifies a specific keychain file to use, is no longer respected. |
| 19 The temporary identity will be removed after the test binary is signed. |
OLD | NEW |