Commit Graph

935 Commits

Author SHA1 Message Date
isaki
6abe86a4fd Reduce the number of loops.
It avoids timeout on slow machines, and I think that 100,000
times loop also satisfies the evaluation.
PR lib/49664 (no comments)
2015-03-07 09:59:15 +00:00
martin
0c9e453b20 Make sure to use the values calculated in the loop that is supposed to crash
the client process - so the compiler does not optimize it all away.
Also improve diagnostic in case of common bug: SIGSEGV instead of SIGBUS.
2015-02-28 13:57:08 +00:00
christos
19331afb8e add truncate causing signal test 2015-02-27 16:09:19 +00:00
martin
94d18b32c6 Double the timeout for sentev_basic to 600 seconds to make it work on
slower machines.
2015-02-27 08:55:35 +00:00
martin
237b5a2e3f bsize_ffactor takes *very* long to complete on some slower machines (maybe
we should investigate?).
Bump timeout up to 1800 seconds (my hppa machine takes ~1100).
2015-02-26 13:00:26 +00:00
isaki
b8d13981be m68k (except sun2) never issue SIGBUS on unaligned accesses.
PR lib/49653.  Thanks martin@.
2015-02-17 09:47:08 +00:00
alnsn
6d5b9045a5 Add two more libbpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:40:18 +00:00
alnsn
4bf0e499d1 Replace accidentally committed test with libbpfjit_jmp_jeq_x_noinit_ax test. 2015-02-14 20:39:09 +00:00
alnsn
3228cf99a8 Improve libbpfjit_jmp_jeq_x test. 2015-02-14 20:29:36 +00:00
isaki
76ca8ec888 uint64_t -> uint32_t. 32bit is sufficient in this case
and it improved the performance approx 7% on my 68030.
see also PR lib/49664.
2015-02-14 08:46:02 +00:00
martin
55ba2da403 Fix strange editor mishap and start block comment on its own line. 2015-02-13 16:56:57 +00:00
alnsn
bc33ca73a3 Add libbpfjit_jmp_ja_overflow test. 2015-02-11 23:33:16 +00:00
alnsn
9dc6430c3c Add libbpfjit_jmp_ja_invalid test. 2015-02-11 23:17:16 +00:00
alnsn
b43344f3ff Add libbpfjit_ret_k and libbpfjit_bad_ret_k tests. 2015-02-11 23:00:41 +00:00
martin
d21477da21 Remove expected failure and references to port-alpha/46301, now that
it is fixed.
2015-02-09 19:39:48 +00:00
isaki
083cb7865f Skip kqueue_unsupported_fd test if /dev/drvctl is not configured
in the kernel.  PR bin/49644.

XXX Ideally, it's better to modify to use more generic device file.
2015-02-05 13:55:37 +00:00
christos
e7149865f6 PR/49617: Kirk Russell: posix_fallocate() should be returning an error on
failure, without setting errno.
2015-01-31 23:06:57 +00:00
nakayama
11b2083df7 The test requires symbols, so put STRIPFLAG= explicitly to avoid
stripping them if STRIPFLAG?=-s is defined in /etc/mk.conf.
2015-01-31 20:55:43 +00:00
snj
72e6061c7e Remove stale comment about ARM fenv support. 2015-01-20 20:43:10 +00:00
christos
03f0cf7814 add proper include files. 2015-01-04 20:19:46 +00:00
gson
263eee9471 Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.
2015-01-03 14:23:53 +00:00
gson
59b4f8a08b Need stdlib.h for EXIT_FAILURE 2015-01-03 14:21:05 +00:00
martin
719bfa7d23 Skip rounding mode tests on ARM FPUs that do not allow configuration of them. 2014-12-29 19:51:53 +00:00
martin
ffed0c5e5a Include <ieeefp.h> even for the <fenv.h> case since we use fpsetmask()
to detect ARM Cortex NEON fpus.
2014-12-29 18:36:27 +00:00
martin
ea1bc3e21f Move the list of <fenv.h> supporting architectures to the makefile and
sync it with other copies.
2014-12-27 18:03:41 +00:00
martin
619d31d686 Enable fenv for arm 2014-12-27 18:00:13 +00:00
martin
5fe2180eb8 Enable fenv.h on arm again 2014-12-27 17:55:05 +00:00
martin
dce8d6f504 fenv(3) support for hppa 2014-12-27 16:54:02 +00:00
martin
ca6af3dc0f Disabel fenv tests for arm, the implementation is incomplete. 2014-12-22 11:21:08 +00:00
martin
dbdfb3d301 Add a test program for basic fenv.h rounding mode/exception mask testing. 2014-12-21 15:37:03 +00:00
alnsn
a234612ab2 Add BPF_MOD tests. Plus one tiny change. 2014-11-20 11:08:29 +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
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
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
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
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
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
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