Commit Graph

2164 Commits

Author SHA1 Message Date
christos
e45a1decc7 test for c99 flexible packed arrays 2014-11-20 21:18:47 +00:00
christos
e9101a47cf Add one more test 2014-11-20 20:52:15 +00:00
alnsn
215bab86a5 Add BPF_MOD tests. Plus one tiny change. 2014-11-20 11:36:13 +00:00
alnsn
a234612ab2 Add BPF_MOD tests. Plus one tiny change. 2014-11-20 11:08:29 +00:00
uebayasi
2db56cefe0 Handle warning messages. 2014-11-20 09:02:00 +00:00
alnsn
b61069b6e9 Add BPF_XOR tests. 2014-11-19 22:56:35 +00:00
martin
dd702302a1 Skip the SIGFPE test on arm when the FPU does not provide exception handling. 2014-11-19 10:09:45 +00:00
martin
7a3fd5de1d Use machdep.unaligned_sigbus to skip the unaligned access test on arm
as well.
2014-11-19 10:03:51 +00:00
martin
a471233800 Skip the tests on ARM if the NEON fpu does not support exceptions (Cortex). 2014-11-18 08:58:08 +00:00
uebayasi
b8860b296b Minor tweaks. 2014-11-16 04:47:18 +00:00
uebayasi
41543d65fd Test SORT() command. 2014-11-16 03:49:09 +00:00
uebayasi
ef5efd2fc9 Tweaks. 2014-11-15 04:47:11 +00:00
uebayasi
03a2e2df43 Test object reordering by script. 2014-11-15 04:23:48 +00:00
uebayasi
551b230b22 Test object ordering. 2014-11-15 03:47:29 +00:00
uebayasi
b57644333c Merge tests. 2014-11-15 03:22:29 +00:00
uebayasi
e6ae210ca4 Tweak. 2014-11-15 03:10:01 +00:00
uebayasi
29c8a787f1 Tweak previous. 2014-11-14 16:29:03 +00:00
uebayasi
e0d81d86b9 Test orphan ELF section placement. 2014-11-14 16:21:12 +00:00
uebayasi
1fc7d1e960 Fix thinko in previous. 2014-11-14 16:20:42 +00:00
uebayasi
90e9fce862 Test __start_xxx/__stop_xxx symbol generation. 2014-11-14 13:30:48 +00:00
uebayasi
3dcb1bdb52 Minimal linker script test. 2014-11-14 09:03:39 +00:00
justin
97c0a6f647 PR misc/49356 remove unnecessary references to atf-c/config.h
The function included via this header is not used and is removed in
later versions of atf, so let us avoid it.
2014-11-04 00:20:19 +00:00
justin
4a3dd59305 PR misc/49342 fix issue where time can tick during tests
Note there are still potential issues as the clock being tested is not
monotonic but it should now not fail unless time is being adjusted.
2014-10-31 12:22:38 +00:00
uebayasi
76fdf39e44 config(1): Briefly test ioconf.c output 2014-10-31 09:11:42 +00:00
uebayasi
c42523f496 config(1), config(5): Introduce "select"
o Introduce a new selection directive "select" to select an attribute (as a
  module) and its dependencies.
o Support "no select" too.
o Stop abusing "options" to select an attribute.
o Bump config(1) version.
2014-10-31 07:38:36 +00:00
uebayasi
b9efa53115 config(1): Test undefined options behavior
- Test selecting an undefined options.
- Test negating an undefined options (failing).
- Fix typos in previous.
2014-10-31 04:54:17 +00:00
uebayasi
c6cb06a0e3 config(1): Check minimal config(1) output files 2014-10-29 16:24:32 +00:00
christos
0e3249fea3 fix typo, use different address 2014-10-27 21:28:58 +00:00
christos
c57b8469e4 - deal with MacOS/X not having clock_*()
- change multicast address
- set the interface
XXX: Now the ipv6 code works on MacOS/X but does not work for us still.
2014-10-26 18:33:43 +00:00
justin
7cbb46f7c6 Add negative offset checks to fseeko
These were not strictly needed before, as lseek would error on negative
arguments, but having added open_memstream we have a virtual file pointer
that assumes that it gets sane values, so we get an assertion triggered
on a negative value. Best to check in one place rather than at all the
relevant points.
2014-10-19 11:17:43 +00:00
snj
f0a7346d21 src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
2014-10-18 08:33:23 +00:00
joerg
651137ad06 Explicitly link C++ test case with CXX. 2014-10-18 02:22:35 +00:00
justin
a99ba75e46 PR standards/49279 add tests for open_memstream, ported from OpenBSD 2014-10-15 21:55:34 +00:00
martin
a9cf99fd0c Fix include order, so the makefile actually does something again. 2014-10-13 11:07:38 +00:00
martin
d7121a34a3 Do not try the C++ 2011 test with gcc < 4.8 2014-10-13 09:57:35 +00:00
martin
cb0ae2ce0b timespec.tv_nsec is long, so use %ld instead of %jd as printf format. 2014-10-13 06:57:08 +00:00
christos
793de535ef typo 2014-10-13 04:57:11 +00:00
christos
35954f72d1 Oops need to bind, also make the message more interesting and check that
it arrives correctly.
2014-10-13 04:56:26 +00:00
christos
caa27f65e4 You need double the number of backslashes in a pattern, since \\ -> '\' in
the string which means escape. Now the tests don't fail.
2014-10-12 22:33:41 +00:00
christos
76ec08071f Explain what works, what does not and why.
Provide compatible code so that it compiles on Linux and MacOS/X with -DTEST.
We should check more OS's and see if they are broken too.
2014-10-12 19:49:01 +00:00
justin
384bcc25f3 Add expect fail for PR lib/49278 2014-10-12 19:08:08 +00:00
justin
2c782285f6 Add some fnmatch test cases from other C library test suites 2014-10-12 18:59:35 +00:00
christos
0de04e721e now we support the v6 ioctls for mapped addresses too. 2014-10-12 18:56:57 +00:00
christos
3242dd1614 Explain a bit more what's going on with the multicast setsockopts. 2014-10-12 14:53:46 +00:00
christos
dce98dc1a7 Add the simple unconnected tests too. 2014-10-12 13:48:25 +00:00
martin
495b705095 If we don't have 64 bit atomic ops, also do not test "long long" and intmax_t
(and friends).
2014-10-12 12:26:41 +00:00
martin
0a9621aa77 Disable the <atomic> C++11 test for now, we are not ready for it. 2014-10-12 08:02:35 +00:00
christos
dec90ca99d add a multicast test (what to do with v6?) 2014-10-11 23:04:42 +00:00
martin
2d4c5dc1d5 If not __HAVE_ATOMIC64_OPS, do not force the test for 64bit types. 2014-10-11 17:46:58 +00:00
martin
069f2c5d29 Add a link time test to catch missing symbols in libc, as pointed
out in PR toolchain/49074.
2014-10-11 14:52:15 +00:00