Commit Graph

550 Commits

Author SHA1 Message Date
christos 760092e27b don't include bsd.sys.mk 2014-01-10 16:35:11 +00:00
rmind 28b444bcec Revert the test addition. 2012-07-22 11:30:14 +00:00
rmind a7d27dddfd Add a simple test for cdb(5). 2012-07-21 22:22:55 +00:00
jruoho 35c44f57e2 The inttypes(3) check has already been moved to ATF. 2012-03-18 07:54:00 +00:00
joerg a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
pgoyette 478d663ec3 These tests have (finally) been atf-ified 2011-04-09 17:55:51 +00:00
pgoyette d8ae15f3b3 The getqaddrinfo test has been atf-ified 2011-01-11 16:34:27 +00:00
pgoyette b94984c7b8 Since the regex test is gone, don't try to descend into its SUBDIR 2011-01-08 18:42:47 +00:00
pgoyette e2c5b6a838 The regex test has been atf-ified 2011-01-08 18:13:42 +00:00
pgoyette 63aa7b9e06 rpc/xdr test has been atf-ified 2011-01-08 07:02:17 +00:00
pgoyette a3eac7b0e8 The db test has been atf-ified 2011-01-07 15:08:40 +00:00
pgoyette da0ee23dec cerror and ttyio tests have been atf-ified 2011-01-07 02:51:38 +00:00
pgoyette c2f7c581b7 mktime test has been atf-ified 2011-01-06 17:22:14 +00:00
pgoyette e6c87c26a0 The nsdispatch test has been atf-ified. 2011-01-05 21:20:25 +00:00
pgoyette ec5548b1f7 The strptime test has previously been atf-ified. 2011-01-05 16:21:29 +00:00
pgoyette 6152a60b95 The atexit test has been atf-ified. 2011-01-04 14:22:06 +00:00
pgoyette 2b4410ab94 The servent test has been atf-ified 2011-01-03 00:55:18 +00:00
pgoyette 83238dfab4 Remove atf-ified tests: servent protoent md5sha 2011-01-02 22:10:23 +00:00
pgoyette f6e425415c The ieeefp stuff has been atf-ified, with the exception of ieeefp/testfloat
(which was never hooked into the build anyway).
2011-01-02 03:59:34 +00:00
pgoyette d7a6e9b3f2 The last of the libc/stdlib tests have been atf-ified 2011-01-01 23:59:19 +00:00
pgoyette f4dac2e1a2 More tests have been atf-ified 2010-12-31 14:37:37 +00:00
pgoyette 42af51cd08 These tests have been atf-ified 2010-12-31 04:10:41 +00:00
pgoyette f7a830954f ldexp has been atf-ified 2010-12-28 17:35:25 +00:00
pgoyette 5b31ebdf7b The last of lib/libc/gen tests have been converted to atf. 2010-12-28 12:48:38 +00:00
pgoyette d852949aef The *setjmp tests have moved to atf 2010-12-27 19:39:09 +00:00
pgoyette 7c2409fa33 The ssp tests have moved to atf format in src/tests/lib/libc/ssp/ 2010-12-27 03:33:46 +00:00
pgoyette bc33547390 Remove the rest of the libc/string tests - they've moved to atf 2010-12-26 13:38:08 +00:00
pgoyette d9958c63e6 Remove regress versions of str* tests - they have been atf-ified 2010-12-25 21:13:37 +00:00
pgoyette f28bd1fe2e Don't descend into siginfo - it's not there any more 2010-12-25 01:20:11 +00:00
pgoyette 0352bad5fd The siginfo tests have migrated to atf in src/tests/lib/libc/gen/ 2010-12-25 01:08:36 +00:00
pgoyette 73ed959de1 Remove a couple tests - they've moved to atf 2010-12-23 15:32:03 +00:00
pgoyette 5fb1be5c8e Remove these tests from regress - they've been converted to atf 2010-12-22 23:48:19 +00:00
pgoyette 4b607b8b71 These tests have been converted to atf 2010-12-21 14:26:17 +00:00
pgoyette 7d82dd048e Remove round test from old regress structure 2010-12-20 23:48:25 +00:00
jmmv e9e065afc7 The libdes tests have been converted to atf and now live in tests/lib/libdes. 2010-08-25 16:47:43 +00:00
jmmv 9b3d800edb Remove the lib/csu/ and include/ tests; they have been converted to atf. 2010-07-17 19:29:33 +00:00
jmmv 59c643ac55 The libpthread tests have been converted to atf; remove the old versions. 2010-07-16 15:46:01 +00:00
jmmv 065d8f673d Remove tests converted to ATF. 2010-07-16 13:59:07 +00:00
mrg 4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
mrg ac4a5823ad if pthread_create() fails, display the iteration number in the error message. 2010-02-16 00:15:19 +00:00
mrg e3dc1c5e34 make this test actually work:
- posix_memalign() does not set errno, it returns 0 or an error number
  (maybe a jemalloc() vs. phkmalloc() issue, but also how the opengroup
  documents it.)
- since "align" must be >= sizeof(void *), expect to fail align=4 on
  LP64 systems.
- while i'm here, add a test for align=2 failing everywhere.
2010-01-26 22:14:01 +00:00
uebayasi fac33cd8a3 Handle undefined USE_SSP. XXX *_SSP variables needs clean-up. 2009-11-25 09:30:04 +00:00
uebayasi 82bc011c43 Descend into ssp/ only if ${USE_SSP} is yes. 2009-11-25 09:22:36 +00:00
plunky 3b1c581042 remove libevent (uses ATF tests now) 2009-11-02 15:44:12 +00:00
plunky 212bd4a35c remove old libevent sources 2009-11-02 10:14:28 +00:00
dsl 846f8720b2 Start with alignment '1' and write the search char to the byte before
the buffer.
XXX needs tests searching for 0xff.
2009-07-18 16:34:47 +00:00
dsl 8b3b305143 Add tests that scan for 0x0 and 0xff.
Remove the 'answers' section from the test definition, instead use our
own version of strchr() to determine the what the answer should be.
On error report which test we are doing, and the answer we got.
If symbol "test_strchr" exists, test that function instead of strchr().
(With a very dodgy strchr() other things fail badly.
2009-07-18 09:20:46 +00:00
pgoyette 0eb19985a4 We can try to trick the compiler, but at least we need to let it
compile!  (Hello, dsl!)
2009-07-18 04:34:32 +00:00
dsl ea7ea23a08 Pollute the space either side of the string being compared with the test
pattern.
2009-07-17 22:07:36 +00:00
dsl 749e537220 The local function pointer wasn't enough to stop gcc using the builtin
strlen!  Move to file scope and make 'volatile'.
When test fails use write (printf might be broken) to report info.
To aid testing new versions, use dlsym() for "test_strlen" defaulting to
strlen() so that the rest of the program doesn't use the broken version.
2009-07-11 11:45:16 +00:00