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
apb
bc007038f7
Avoid literal <CR> in sed regular expression.
...
Instead, use printf(1) to save the regexp in a shell variable,
taking advantage of the fact that printf understands "\r".
This should fix a complaint from subversion, reported in PR 49249.
2014-10-09 06:52:37 +00:00
apb
4206688740
2013-07-09 was in British Summer TIme, so use tzoff=-60, not 0.
2014-10-08 17:23:03 +00:00
apb
5b0c63042a
When tests fail, print all args, notjust the date string.
2014-10-08 17:21:40 +00:00
apb
4e0616873f
Add tests for PR lib/47916. Some of these fail.
2014-10-08 13:26:47 +00:00
apb
cad616778a
Adapt to a recent change in parsedate().
...
"9/10/69" still refers to 2069, and "9/10/70" still refers to 1970,
but "69-09-10" and "70-09-10" now refer to the years 69 and 70.
2014-10-07 22:33:52 +00:00
apb
cf077958e6
Add comments for some non-obvious cases.
...
Also add a test with year=70, which is documented to be treated as 1970.
2014-10-07 19:26:31 +00:00
apb
fc447ec4e5
Add local parsecheck() function and use it for several tests.
...
Instead of just checking that parsedate(3) does not return an error,
also pass the result through localtime_r(3) or gmtime_r(3) and check the
year/month/day/hour/minute/second fields in the resulting struct tm.
2014-10-07 19:20:28 +00:00
gson
660533ae91
In the exp2_values test case, provide separate expected return values
...
for the float case, reflecting the actual exp2f() argument value after
rounding to float precision. Fixes PR lib/49256. Thanks to Makoto
Kamada and Tetsuya Isaki for the analysis.
2014-10-07 16:53:44 +00:00
matt
6cf6fe02a9
New files for Userland support of UCB RISC-V (both 32-bit and 64-bit)
2014-09-19 17:36:24 +00:00
christos
3cfc969d61
add null and empty tests.
2014-09-08 19:01:03 +00:00
matt
27620987b8
New files for OR1K support
2014-09-03 19:34:25 +00:00
matt
b0b2ad2060
The nop instruction on or1k is l.nop
2014-09-03 19:24:12 +00:00
gson
35cbd4f0ac
The cond_timedwait_race test case is no longer expected to fail; it
...
has been consistently passing since CVS date 2014.01.31.19.22.00.
See also PR lib/44756.
2014-09-03 16:23:24 +00:00
gson
3583bc35d3
The 4 second timeout of the invafd test case is not always enough when
...
running under qemu; increase it to 10 seconds.
2014-08-27 13:32:16 +00:00
bouyer
18d9435662
Go back to the initial context (as tests/lib/libc/sys/t_swapcontext.c does)
...
after checking pthread_self() didn't change. Otherwise the process exits
outside of atf context.
Should fix "Test case exited normally but failed to create the results file: Results file is empty" reports from atf-run.
2014-08-25 16:31:15 +00:00
pooka
48fac693b7
Update hardcoded fd expectations now that rump kernels open 0/1/2.
...
(since we exec, it's convenient to just assume the values of first 4 fds)
2014-08-13 00:03:00 +00:00
martin
e204327425
Do not set HAVE_FENV for arm as long as it misses feenableexcept().
2014-08-10 12:01:57 +00:00
martin
41f262a02f
Use the same condition for HAVE_FENV
2014-08-10 11:30:51 +00:00
matt
547b3a3b01
Changes to existing files to enable building AARCH64 userland.
...
evbarm64-el
This is clang only. While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt
beb9c6d1b5
Preliminary files for AARCH64 (64-bit ARM) support.
...
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
christos
6030f04a15
amend the new destroy function to take function pointers.
2014-07-20 20:17:21 +00:00
christos
0579ed8b30
Add new minherit test.
2014-07-18 12:34:52 +00:00
gson
858def4e9a
space after comma
2014-07-15 14:56:34 +00:00
alnsn
5977f956e5
Add a link to ../../net/bpfjit/t_extmem.c.
2014-07-14 19:11:15 +00:00
alnsn
2b2f4a0ebe
Add bpfjit_cop_copx and bpfjit_copx_cop tests.
2014-07-13 21:35:33 +00:00