diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-11-24 23:41:25 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-11-24 23:41:25 +0100 |
commit | d535217dc4b22223d3c84d7f18484250a3da6b7e (patch) | |
tree | be3430725798bf11a226555063d9f2e7cda58049 /tests | |
parent | d160de5b5054784d2b77c2d6e44f0231ccdb33f8 (diff) | |
download | gmp-d535217dc4b22223d3c84d7f18484250a3da6b7e.tar.gz |
* tests/misc/t-locale.c: Avoid printf in the normal case, since the
replacement localeconv breaks printf on SunOS 4.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/misc/t-locale.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/misc/t-locale.c b/tests/misc/t-locale.c index a03dfc120..c3f407086 100644 --- a/tests/misc/t-locale.c +++ b/tests/misc/t-locale.c @@ -139,7 +139,10 @@ check_input (void) int main (void) { - tests_start (); + /* The localeconv replacement breaks printf "%lu" on SunOS 4, so we can't + print the seed in tests_rand_start(). Nothing random is used in this + program though, so just use the memory tests alone. */ + tests_memory_start (); { mpf_t f; @@ -159,7 +162,7 @@ main (void) check_input (); done: - tests_end (); + tests_memory_end (); exit (0); } |