Commit Graph

230 Commits

Author SHA1 Message Date
ross 0ce22aecff Warn about hooking up ./testfloat 2001-03-13 08:09:15 +00:00
ross d4a390a3c3 Conversion notes. 2001-03-13 08:02:17 +00:00
ross 4d8829d5a8 Boilerplate, WARNS. 2001-03-13 07:49:33 +00:00
ross a6c28c44df TestFloat-2a contained a bunch of code obviously intended to work
around rand(3) bugs. Replace it all with this random(3) conversion.
2001-03-13 07:47:01 +00:00
ross 101660d9a5 Two new functions:
o  syst_floatx80_to_int32_round_to_zero()
o  syst_floatx80_to_int64_round_to_zero()
Boilerplate.
<machine/asm.h>
2001-03-13 07:43:19 +00:00
ross 28904f8f58 <machine/asm.h> conversion.
Boilerplate.
2001-03-13 07:41:26 +00:00
ross 89f51f809a Boilerplate. 2001-03-13 07:39:58 +00:00
ross 8b75248b5a Generic conversion (ieeefp.h, inttypes, endian), no arm special cases yet.
Also rcsid, TNF license, derivative work notice, etc.
2001-03-13 07:37:59 +00:00
ross 0cdd4f95c5 Another generic-version of an originally target-specific .h file.
This still needs target-NaN, endian, and the arm26 DEMANGLE special case.
This may be moved back under arch/ in the future.
2001-03-13 07:25:02 +00:00
ross 159fa2a091 This file is target-specific in SoftFloat, but this is my attempt
at making a completely generic one. Modified from libc/arch/sh3/softfloat.
  o  <inttypes.h> conversion
  o  <endian.h> conversion
  o  merge of BITS32 and BITS64 ABI, C89 inline, rcsid, derivative work
  _  notice.
2001-03-13 07:18:38 +00:00
ross 5550be0101 rcsid, WARNS, don't give \r to stdio ops 2001-03-13 06:48:56 +00:00
ross a9cb2700d6 rcsid, WARNS, don't occasionally fprintf or fputc a \r 2001-03-13 06:45:24 +00:00
ross e247affc1d The NetBSD way. 2001-03-13 06:39:30 +00:00
ross 11dc1555d3 BSD make conversion. 2001-03-13 06:37:34 +00:00
ross 5a6cac7136 Original post-\r-rip include files for TestFloat-2a 2001-03-13 06:33:17 +00:00
ross 3fc4c3244f Import of .txt files from TestFloat-2A, after ripping the \r's out, sigh. 2001-03-13 06:23:17 +00:00
ross 122b058a16 Import of TestFLoat-2a from UCB/John R. Hauser. Source already
reorged but unmodified. (I think src/dist rocks, but this pkg
is unlikely to ever get a vendor branch rev; this seemed best.)
It has a BSD-like license, and in any case the same license as
libc/softfloat and libc/arch/arm32/fplib.
2001-03-13 06:13:57 +00:00
bjh21 39fd9b490a Make "regress" depend on the binary, so "make regress" builds it if necessary. 2001-03-11 16:40:40 +00:00
cgd 82f3142780 fix NetBSD RCS id tags 2001-02-27 19:04:39 +00:00
cgd d7666f6c7f use getprogname() 2001-02-20 23:22:49 +00:00
cgd 65a1026492 convert to use getprogname() 2001-02-19 22:43:42 +00:00
bjh21 13dbf7c5c5 Add a very, very simple test of XDR handling.
It just checks decoding of doubles, which NetBSD/arm32 seems to have got
wrong forever.
2001-02-18 21:57:16 +00:00
itojun d5822f49d1 add test 41: sort -f < emptyfile bombs. 2001-02-15 17:23:20 +00:00
cgd c1ff96b0ae go through and look for all of them, too 2001-02-14 06:03:37 +00:00
cgd 76914ab972 add IDs in the object 2001-02-14 05:32:19 +00:00
cgd a98e831e03 Add a program to test the functionality of hsearch(). Our current
hsearch() falls right over (because it's unredeemably broken).  That's
about to change, though.
2001-02-14 05:20:10 +00:00
jdolecek df1e7da042 40B: just symlink in and out, don't bother copying it
use -f for the sort
2001-01-19 12:34:45 +00:00
jdolecek 51a5f86386 don't use $s in test #39, that test doesn't depend on presence of -s
add two new regressions tests for long lines as test #40, using
/usr/share/dict/words; in-tree sort currently crashes during 40B, going
to fix it soon
2001-01-15 18:52:32 +00:00
jdolecek fdbaf840be don't print any note - stest prints its own 2001-01-15 16:13:59 +00:00
simonb 439b247426 Add the "sort the dictionary" test that detected the recent lossage. 2001-01-14 14:47:56 +00:00
christos 0f41b74720 remove duplicate target empty. 2001-01-14 06:35:57 +00:00
christos 09b8ab7adf protect against multiple inclusion; bsd.prog.mk will re-include this file 2001-01-14 06:24:53 +00:00
jdolecek 96731d46b9 use $S for stuff calling sort directly, not via xsort 2001-01-12 22:35:07 +00:00
jdolecek a8b321c587 print a disclaimer on startup about this test suite - other sort implementations
may fail some tests, yet conform to standard too; for non-stable sort,
quite a few tests have actually more possible 'correct' results, yuck!

check for presence of -S and use it to switch to non-stable sort - the tests
are not written for stable sort

Fix test 37 - for 'sort -m -r' to actually work, the input files have
to be reverse sorted as well. Now the in-tree BSD sort passes this test ;-)

print the used sort command and parameters for 'failed' messages

other small sleanups, remove accidentaly added debug stuff
2001-01-12 21:45:17 +00:00
jdolecek 2ec37dafdc do not mess with $o if misplaced -o is supported - it's orhogonal to +POS/-POS support 2001-01-11 22:26:55 +00:00
jdolecek 4502c34907 do not display the actuall command executing stests 2001-01-11 22:19:29 +00:00
jdolecek 9d7f88dae6 change so that test 35 print warning about missing -g just once
s/not present/not supported/
2001-01-11 22:18:38 +00:00
jdolecek 50b80dfd9f use shell functions instead of dynamically created external scripts
warn when test is skipped due to missing feature
2001-01-11 22:10:27 +00:00
jdolecek 0664ed5c26 make objdir safe 2001-01-11 14:12:14 +00:00
simonb 699a13760c Add regression tests for div/ldiv/lldiv. 2001-01-08 04:41:31 +00:00
simonb d7d808597e Add regression tests for div/ldiv/lldiv.
Inspired by port-i386/11914 from Luke Mewburn.
2001-01-08 04:39:31 +00:00
drochner b2779a2f25 test for dlopen(3) and the toolchain generating the files involved 2000-12-08 19:24:29 +00:00
drochner 44e89b161e test program for dlopen(3) 2000-12-08 19:22:51 +00:00
drochner 08a3f0ae6e test cases for dynamically loaded objects: constructor/destructor call for
static objects, C++ runtime support
2000-12-08 19:21:28 +00:00
itojun cbfaeab846 "make benchmark" will run a tiny benchmark test. 2000-11-08 06:02:01 +00:00
itojun b7192d086c move WARNS to ../Makefile.inc 2000-11-08 05:14:56 +00:00
itojun 2ce9195af1 set WARNS?=1. fix error trap in rijndael test. sync with kame 2000-11-08 05:08:55 +00:00
jdolecek 5aadf3060b put in NetBSD RCS id
put it comment that this was derived from stuff written by
  Peter McIlroy - it's not clear now that it's separate from
  the rest of new BSD-licenced sort(1)
2000-11-06 14:42:40 +00:00
itojun 76a9ffd207 sync calling sequence with kernel code. sync with kame 2000-11-05 03:15:57 +00:00
jdolecek 9681f1c1b6 use fmtcheck(), not __fmtcheck()
Fixes misc/11409 by Richard Earnshaw.
2000-11-02 18:06:30 +00:00