]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | Copyright (c) 2002-2003, International Business Machines Corporation and others. All Rights Reserved. |
2 | Unalignedtest | |
3 | ============= | |
4 | ||
5 | This is a test to find if ICU is 64 bit clean. This test runs cintltst and intltest through gdb and produces SIGBUS fault | |
6 | whenever the kernel encounters a unaligned trap. | |
7 | ||
8 | Build and Usage | |
9 | ================== | |
10 | To build this test: | |
11 | ||
12 | i) Build and test ICU | |
13 | ||
14 | ii) cd to <icu>/source and run the following command to build the Makefile | |
15 | CONFIG_FILES=./test/unalignedtest/Makefile CONFIG_HEADERS= ./config.status | |
16 | ||
17 | iii) cd to <icu>/source/test/unalignedtest and run 'make' to build the executable | |
18 | ||
19 | iv) For testing cintltst run 'make check-cintltst' | |
20 | ||
21 | v) For testing intltest run 'make check-intltest' | |
22 | ||
23 | vi) To find out if any of the tools are performing unaligned traps: | |
24 | a) cd to <icu>/source/data | |
25 | b) run 'make clean' | |
26 | c) run 'env LEAK_CHECKER="<icu>/source/test/unalignedtest/unalignedtest -b" make' | |
27 |