summaryrefslogtreecommitdiff
path: root/tests/lib
AgeCommit message (Collapse)Author
2014-03-03Remove the print of the rounding mode.dsl
It was added in case it was non-zero - which it isn't. It still isn't clear why acos(-1) gives the wrong result on some amd64 systems.
2014-03-03Define HAVE_FENV_H on architectures that support it.martin
What a mess, we need a central place for this!
2014-03-03Remove all cargo-cult #ifndef __vax__ from the tests, that just papermartin
over bugs in the vax libm.
2014-03-03Fix build for platforms w/o fenv.h.martin
Remove some bogus #ifdef __vax__ (and add a few, hopefully non-bogus, new ones).
2014-03-02Include the subtest number in any error output.dsl
Also temporarily print the rounding mode. I think that acos(-1) is ending up with the wrong sign because the test is being run with 'round towards -ve infinity' set. I think it getting set somewhere and causing this test to fail. The acos() code probably needs fixing - it shouldn't depend on the round mode like this. But first I want to know if this if the error.
2014-03-01Fix sign.joerg
2014-03-01Some of the acos() tests seem to fail on some systems.dsl
Sorting out why isn't helped by the tests not reporting the erronous value. Change the 'boilerplate' pattern used so that all the values are output. Reduce the amount of faffy red tape as well. Some of these reductions could be shared with other libm tests, but for the moment they are defined in this file. All these tests pass on my amd64 system, and when I run amd64 qemu.
2014-02-27Avoid promotion in subexpressions.joerg
2014-02-27Don't use integer downcasts, use correctly sized constants for each test.joerg
2014-02-27Use an abs wide enough to cover the types involved.joerg
2014-02-26Remove hardcoded VM_MIN_ADDRESS and instead query current value viamartin
sysctl vm.minaddress.
2014-02-21Remove excemption for i386 (PR lib/48601) - missing aliases will bemartin
added to the C code.
2014-02-18For now excempt i386 from __sync_lock_test_and_set_8 and point tomartin
PR lib/48601. Probably more architectures to follow.
2014-02-17Since clang doesn't recognize the nand variants of the sync builtins andjoerg
gcc doesn't support __has_builtin, use a plain #ifndef __clang__ check as workaround.
2014-02-17Add a link-time test for __sync_* primitives (see PR 48368) - thismartin
will allow us to notice missing functions during the build, instead of when compiling arbitrary pkgsrc stuff later.
2014-02-09Use compiler builtins instead of atf_arch and atf_machine.jmmv
The atf_arch and atf_machine configuration variables were removed from atf-0.19 without me realizing that some tests were querying them directly. Instead of reintroducing those variables, just rely on compiler builtins as many other tests already do. Should fix PR bin/48582.
2014-02-02Add a few more test values from the range that sparc64 previously wouldmartin
have got wrong.
2014-02-01Skip testcase inside its body for architectures w/o long double supportmartin
2014-02-01Print a slightly more helpfull message in case of test failuremartin
2014-01-30No unused functions if there is no long double support.joerg
2014-01-30Add test for uint64 to real long double conversion.joerg
2014-01-26Support using fenv instead of fpsetmask if HAVE_FENV is defined.matt
2014-01-26Make this real even though it isn't yet used.matt
2014-01-25Use English spelling of alignment.skrll
2014-01-21fix comment typos pointed out by uebayasiyamt
2014-01-20- fix funopen usageyamt
- some more checks - remove a bogus test case (bad_eucJP_getwc) PR/47660 (Julio Merino) - add XXX comments
2014-01-19Remove -O0 from CPPFLAGS, and instead setapb
COPTS.testlang_parse.c += -Wno-uninitialized. Without the old -O0, and without the new -Wno-uninitialized, gcc issues this bogus error: testlang_parse.y:1400:8: error: 'cmd' may be used uninitialized in this function
2014-01-19Remove "-g" from CPPFLAGS and LDFLAGS in curses tests.apb
The debug information contains embedded references to the src directory, which is bad for reproducible builds.
2014-01-13When using braces around shell variable names, do so consistentlygson
2014-01-13Add missing resolv.conf override to the gethostbyaddr6 test case.gson
2014-01-11New gcc can reuse stack frames for tail calls, so "main" is an optionalmartin
frame as well.
2014-01-11Make the output of the test case better suited for debugging (output fullmartin
backtrace before failing any unclear asserts)
2014-01-10Remove comment that no longer applies.gson
2014-01-10In the strcat test, smash the stack more severely (this all may dependmartin
on alignment and stack frame details). The gcc folks disagree with this test in general: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59750
2014-01-10Add a cleanup routine because if a test fails, the script exits and thechristos
rest of the code is not executed. Note that the cleanup routine is executed in a separate shell so environment variables are not propagated and need to be set again.
2014-01-09fix copyright botch and add library for netinet6; still does not fix thechristos
problem.
2014-01-09Use our own resolv.conf file simplifying the test to not need rump_vfs.christos
Add debugging on the dns server One test fails (gethostbyaddr6) why? It runs without rump
2014-01-06Fix spelling of "daemon". Pointed out by Thomas Klausner.gson
2014-01-06Make t_hostent test cases that query the DNS work on systems with nogson
Internet connectivity, by hijacking DNS queries and /etc/resolv.conf accesses using librumphijack and providing a minimal DNS server to answer the queries.
2014-01-03netstat expected output includes ipv6 sucket, so add netinet6pooka
2013-12-20sixthavenue got upgradedchristos
2013-12-12Add stack alignement test for sparcmartin
2013-12-11Add stack alignment checks for alpha, arm, mips, powerpc, and vax.matt
Fix makefile to support MACHINE_CPU
2013-11-22Adjust expected epsilon for sqrtl <-> powl comparisions for defects inmartin
powl (which actually is pow for now)
2013-11-21Add carriage return to list of valid character substitutions.blymn
2013-11-21Add carriage return to the quoted character listblymn
2013-11-19Add cbrtl(3) and sqrtl(3), from FreeBSD.joerg
2013-11-15Add stack alignement checking for sparc64martin
2013-11-15Check stack alignment on hppa.skrll
2013-11-15- Add bpf_args_t and convert bpf_filter_ext() to use it. This allows thermind
caller to initialise (and re-use) the memory store. - Add bpf_jit_generate() and bpf_jit_freecode() wrappers.