]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/unalignedtest/readme
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / test / unalignedtest / readme
CommitLineData
b75a7d8f
A
1Copyright (c) 2002-2003, International Business Machines Corporation and others. All Rights Reserved.
2Unalignedtest
3=============
4
5This is a test to find if ICU is 64 bit clean. This test runs cintltst and intltest through gdb and produces SIGBUS fault
6whenever the kernel encounters a unaligned trap.
7
8Build and Usage
9==================
10To build this test:
11
12i) Build and test ICU
13
14ii) cd to <icu>/source and run the following command to build the Makefile
15CONFIG_FILES=./test/unalignedtest/Makefile CONFIG_HEADERS= ./config.status
16
17iii) cd to <icu>/source/test/unalignedtest and run 'make' to build the executable
18
19iv) For testing cintltst run 'make check-cintltst'
20
21v) For testing intltest run 'make check-intltest'
22
23vi) 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