This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The test of strcmp in newlib.string testsuite can take too long to run on simulators, resulting in timeout failures. This patch creates a short version of the test, by reducing the length and the number of strings to compare. This patch also adds a new macro LONG_TEST to control whether a short or a more comprehensive test should be used. LONG_TEST is not set by default. Thanks, Greta newlib/ChangeLog 2012-05-01 Greta Yorsh<Greta.Yorsh@arm.com> * testsuite/newlib.string/strcmp-1.c (LONG_TEST): New macro. (MAX_BLOCK_SIZE): Use small value when LONG_TEST is not set. (MAX_DIFF, MAX_LEN, MAX_ZEROS) Likewise.
Attachment:
newlib-test-strcmp.v2.patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |