Martin Storsjö
8a60836d87
test: Remove unnecessary bits of hello-exception.cpp
...
These bits are tested by hello-cpp.cpp.
2020-10-13 12:19:46 +03:00
Martin Storsjö
6ae2bfa3ad
crt-test: Add a testcase for a case where a broken optimization in LLVM broke the compiler builtin division helpers
...
https://reviews.llvm.org/D88783 caused this to break.
2020-10-12 14:20:49 +03:00
Martin Storsjö
ccff9e4106
test: Update the conditions for skipping global-terminate.cpp on aarch64
...
Our pinned version of mingw-w64 is new enough already, and
latest wine has implemented __C_specific_handler for aarch64,
so this makes the test be bypassed with current pinned clang (10.0.0)
and the soon to be released clang 11.0.0, but is executed with
clang 12.0.0 (where current versions has got this implemented properly).
2020-09-28 15:11:10 +03:00
Martin Storsjö
c82a6f2340
test: Add a testcase for the global termminate handler
2020-09-16 00:07:46 +03:00
Martin Storsjö
308f7227c5
test: Add an idl testcase
2020-09-16 00:03:57 +03:00
Martin Storsjö
f4272deea5
test: Avoid a warning about a cast to a smaller integer type on 64 bit architectures
2020-03-04 14:01:26 +02:00
Martin Storsjö
7f2171d587
test: Simplify the hello.c test app
2019-12-20 09:43:39 +02:00
Martin Storsjö
4e9072aef0
crt-test: Add tests for large values in functions that do rounding and similar operations
...
Some of these functions earlier were using integer intermediates,
where the range easily is exhausted.
2019-12-20 09:38:32 +02:00
Martin Storsjö
7f7d2f9852
crt-test: Add tests for sscanf with double/long double outputs
2019-12-20 09:38:32 +02:00
Martin Storsjö
348d1f18df
test: Remove an unused, leftover variable
2019-12-18 11:27:50 +02:00
Martin Storsjö
00edbd4ec3
crt-test: Test negative zero in a few places
2019-08-01 22:30:45 +03:00
Martin Storsjö
f07f6b71fe
crt-test: Add tests for many more math functions
...
This should complete the coverage of all the C99 math functions.
2019-08-01 22:30:45 +03:00
Martin Storsjö
e9da355304
crt-test: Test the copysign function on any platform, not only on windows
2019-08-01 22:30:45 +03:00
Martin Storsjö
7347d257ed
crt-test: More thoroughly test some math functions
...
Also check that NaN is propagated properly where possible.
2019-08-01 22:30:45 +03:00
Martin Storsjö
52e7fff7a6
crt-test: Reduce code duplication in tests for math functions
2019-08-01 22:30:45 +03:00
Martin Storsjö
8eea910f47
crt-test: Extend existing tests for NAN to check that input NANs are preserved
...
Don't check the full NAN in itself, but check that the sign bit appears
correctly.
2019-08-01 22:30:45 +03:00
Martin Storsjö
2e6fa5bca7
crt-test: Wrap parameter expansion in TEST macros in parentheses
2019-08-01 22:30:45 +03:00
Martin Storsjö
70f074b599
crt-test: Restore the rounding direction after testing it
2019-08-01 22:30:45 +03:00
Martin Storsjö
8cf83f259e
Add the testcase from llvm PR40322
2019-04-30 00:03:19 +03:00
Martin Storsjö
c3a16814bd
crt-test: Add tests for logb/ilogb
2019-04-29 12:17:07 +03:00
Martin Storsjö
566d1dece9
crt-test: Clarify a comment further
2019-04-29 12:16:02 +03:00
Martin Storsjö
7e74b87a29
crt-test: Remove workarounds for llrint rounding to even numbers
...
Also add testcases for the same case with other functions.
2019-04-20 07:37:11 +03:00
Martin Storsjö
306b98716b
crt-test: Test powl on arm/aarch64 now
2019-04-20 07:37:11 +03:00
Martin Storsjö
fd74ad4c52
crt-test: Remove a workaround for mingw math functions
2019-04-20 07:37:11 +03:00
Martin Storsjö
8cbdd0c9b4
crt-test: Clarify a comment about a workaround
2019-04-18 22:40:35 +03:00
Steve Lhomme
707fda6348
tests: add a test to make sure compiling forbidden UWP APIs fails
...
When building for UWP and works otherwise
2019-04-18 12:23:28 +03:00
Martin Storsjö
86e0b3732f
crt-test: Remove skips for acosh(infinity) on x86 mingw
...
This is fixed in the latest upstream version.
2019-04-16 14:53:54 +03:00
Martin Storsjö
cb7feea731
crt-test: Tweak TEST_FLT_ACCURACY to not accept NAN
2019-04-16 10:28:43 +03:00
Martin Storsjö
70c64e58c9
crt-test: Add tests for acosh/asinh/atanh
2019-04-16 10:28:43 +03:00
Martin Storsjö
141027d5d4
crt-test: Add tests for expm1 and log1p
2019-04-16 10:28:33 +03:00
Martin Storsjö
34cf84fa68
crt-test: Test putenv and the environ variable
2019-04-15 14:05:46 +03:00
Martin Storsjö
fd39855471
crt-test: Remove a skip for fmodl on arm
2019-04-15 14:05:46 +03:00
Martin Storsjö
a59b98bb0c
crt-test: Test error reporting of CRT functions via errno
2019-04-15 14:05:46 +03:00
Martin Storsjö
62869c798c
crt-test: Remove a skip for a floor function issue
...
When using the floor function from msvcrt/ucrt instead of a libmingwex
reimplementation, this test passes on arm as well.
2019-04-15 14:05:46 +03:00
Martin Storsjö
a96783ee46
crt-test: Improve the tests for fmod/remainder/remquo
2019-04-09 14:20:23 +03:00
Martin Storsjö
776b1f4a84
crt-test: Add tests for modf
2019-04-09 13:17:06 +03:00
Martin Storsjö
3ccaf1c1bf
crt-test: Add tests of fmod/remainder/remquo
2019-04-09 12:47:00 +03:00
Martin Storsjö
cb71dfa03b
crt-test: Test sincos()
2019-04-09 12:45:35 +03:00
Martin Storsjö
5d969f2a70
crt-test: Add tests of ldexp/scalbn/scalbln
2019-04-09 12:32:56 +03:00
Martin Storsjö
dde687f36d
crt-test: Add tests of exp2
2019-04-09 12:32:56 +03:00
Martin Storsjö
f2f68dff90
crt-test: Add testcases of log2l
2019-04-09 12:32:56 +03:00
Steve Lhomme
d3b256c7be
test: ignore more generated files
2019-03-12 10:42:43 +02:00
Martin Storsjö
837fee3ce1
Clarify the output of the exception-locale test
2018-12-12 00:07:50 +02:00
Martin Storsjö
c9817eca35
Add a testcase for ubsan
2018-10-17 22:45:54 +03:00
Martin Storsjö
03b99b5144
Do one in-bounds write in clean runs of stacksmash.c
2018-10-07 21:00:30 +03:00
Martin Storsjö
a7616d6d23
Add helpful printouts in stacksmash.c
2018-10-02 21:34:54 +03:00
Martin Storsjö
6d7cef9e9e
test: Rename ssp.c to stacksmash.c
2018-10-02 14:53:53 +03:00
Martin Storsjö
f0aa7c4c10
Revert "Use dwarf exceptions on i686 as well"
...
This reverts commit ca43ab5ccd .
It was reported in https://github.com/mstorsjo/llvm-mingw/issues/8 that
the dwarf unwinding on i686 doesn't always work.
This commit adds a testcase for the case that didn't work previously.
2018-10-01 14:28:30 +03:00
Martin Storsjö
5a70c3cb78
Extend the dll autoimport test to test references to a external variable with offset
2018-09-07 00:02:16 +03:00
Martin Storsjö
37f8ba8516
Add tests for the autoimport feature
2018-09-05 12:21:46 +03:00