Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test idea borrowed from cpython | Anthony Green | 2022-09-24 | 1 | -0/+90 |
| | |||||
* | Add test case transcribed from cpython | Anthony Green | 2022-09-24 | 1 | -0/+63 |
| | |||||
* | Add test case | Anthony Green | 2022-09-18 | 1 | -0/+60 |
| | |||||
* | Add missing ABI_ATTR | Anthony Green | 2022-09-18 | 1 | -1/+1 |
| | |||||
* | Fix test headers | Anthony Green | 2022-09-15 | 1 | -1/+1 |
| | |||||
* | msvc requires the printf change, not mingw | Anthony Green | 2022-09-15 | 1 | -2/+2 |
| | |||||
* | Fix test case | Anthony Green | 2022-09-14 | 1 | -4/+5 |
| | |||||
* | Improve test case | Anthony Green | 2022-09-14 | 1 | -2/+2 |
| | |||||
* | Add test case | Anthony Green | 2022-09-14 | 1 | -0/+40 |
| | |||||
* | New test cases | Anthony Green | 2022-05-28 | 3 | -0/+195 |
| | |||||
* | Fix check for invalid varargs arguments. (#707) | Roland Schatz | 2022-05-23 | 1 | -0/+154 |
| | |||||
* | Clean up types | Anthony Green | 2022-05-22 | 1 | -9/+8 |
| | |||||
* | testsuite/libffi.call: fix mismatching return types (#679) | Andreas Schwab | 2021-12-23 | 4 | -7/+7 |
| | | | Co-authored-by: Andreas Schwab <schwab@suse.de> | ||||
* | No more xfail for alpha | Anthony Green | 2021-07-29 | 1 | -1/+1 |
| | |||||
* | Test passing structs by value | Anthony Green | 2021-07-29 | 2 | -0/+154 |
| | |||||
* | Fix test check | Anthony Green | 2021-07-16 | 1 | -1/+1 |
| | |||||
* | Fix test check | Anthony Green | 2021-07-16 | 1 | -1/+1 |
| | |||||
* | Use CHECK to assert more things in test suite (#654) | Hood Chatham | 2021-07-16 | 10 | -0/+98 |
| | | | | | | | * Use CHECK to assert more things in test suite * Use snprintf instead of sprintf * Fix va_struct1 and va_struct3 | ||||
* | Print more information when an assertion fails in test suite (#649) | Hood Chatham | 2021-06-27 | 1 | -1/+7 |
| | |||||
* | This test includes a closure and must live in the closures test directory. ↵ | Matthew Green | 2021-06-26 | 1 | -107/+0 |
| | | | | | (#645) Co-authored-by: Matthew Green <squidhacks@users.noreply.github.com> | ||||
* | 2021-06-15 Jakub Jelinek <jakub@redhat.com> | Jakub Jelinek | 2021-06-15 | 1 | -0/+107 |
| | | | | | | | | * src/x86/ffi64.c (classify_argument): For FFI_TYPE_STRUCT set words to number of words needed for type->size + byte_offset bytes rather than just type->size bytes. Compute pos before the loop and check total size of the structure. * testsuite/libffi.call/nested_struct12.c: New test. | ||||
* | Bug #680. Don't accept floats or small ints as var args. (#628) | Anthony Green | 2021-03-23 | 2 | -119/+197 |
| | | | | | | | * Bug #680. Don't accept floats or small ints as var args. * Bug #680. Don't accept floats or small ints as var args. * Bug #680. Don't accept floats or small ints as var args. | ||||
* | Move nested_struct3 test to closures directoryv3.3 | Anthony Green | 2019-11-23 | 1 | -111/+0 |
| | |||||
* | Move closure test to closure directory | Anthony Green | 2019-11-22 | 1 | -54/+0 |
| | |||||
* | More more closure tests to the closure test directory | Anthony Green | 2019-11-22 | 20 | -2601/+0 |
| | |||||
* | Move closure tests so we can easily XFAIL them for some targets | Anthony Green | 2019-11-22 | 74 | -6167/+0 |
| | |||||
* | Fix or1k lack-of-g++ checking in testsuite | Anthony Green | 2019-11-20 | 3 | -3/+14 |
| | |||||
* | No C++ for or1k-unknown-elf | Anthony Green | 2019-11-19 | 1 | -1/+1 |
| | |||||
* | No C++ for or1k | Anthony Green | 2019-11-19 | 1 | -1/+1 |
| | |||||
* | Disable type warnings for or1k. | Anthony Green | 2019-11-19 | 1 | -1/+1 |
| | |||||
* | No c++ for or1k-elf | Anthony Green | 2019-11-19 | 1 | -1/+1 |
| | |||||
* | Mark xfail for m68k and alpha. | Anthony Green | 2019-11-07 | 1 | -1/+1 |
| | |||||
* | Making the change to correct the comment when SUN (#521) | pichikaudaykiran | 2019-10-09 | 1 | -8/+9 |
| | | | and GCC are used together | ||||
* | Fix appveyor windows build (#420) | fwg | 2018-04-02 | 1 | -1/+14 |
| | | | | | | | | | | | | | * Fix msvcc dll build by adding dllexport decorations to all API declarations * Fix appveyor build for VS 2013 Use the new -DFFI_BUILDING_DLL for producing a working DLL. Update the msvcc.sh wrapper script to successfully compile the testsuite files. * MSVC build: suppress warnings in testsuite * fix testsuite on appveyor | ||||
* | Expand ABI tests on x86. Testsuite bug fixes. | Anthony Green | 2018-03-29 | 2 | -1/+47 |
| | |||||
* | msvc c99 hack | Anthony Green | 2018-03-27 | 1 | -2/+2 |
| | |||||
* | msvc fixes | Anthony Green | 2018-03-27 | 1 | -0/+2 |
| | |||||
* | Remove uninitialized warning. Fix #163. | Anthony Green | 2018-03-27 | 1 | -0/+1 |
| | |||||
* | xfail unwind tests for moxie | Anthony Green | 2018-03-17 | 2 | -2/+2 |
| | |||||
* | new test: return small struct | Sergei Trofimovich | 2018-02-17 | 1 | -0/+57 |
| | | | | | | | | | | | | | | | | | The bug originally was discovered in https://bugs.gentoo.org/634190 where complicated callback was returning invalid data on ia64. This change adds minimal reproducer that fails only on ia64 as: FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O0 execution test FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O2 execution test FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O3 execution test FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -Os execution test Test passes on amd64. The fix is in the following commit. Bug: https://bugs.gentoo.org/634190 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | ||||
* | aarch64: fix index base register for AArch64 | Saleem Abdulrasool | 2017-10-26 | 1 | -0/+95 |
| | | | | | The base is passed in `x3`, not in `x2`. This fixes the indexing base so that the right value is used. | ||||
* | xfail the unwindtest for osx as per issue #279 | Anthony Green | 2016-09-04 | 1 | -1/+1 |
| | |||||
* | Do not use fabsl() in float2.c test | Yuriy Kolerov | 2016-07-29 | 1 | -1/+3 |
| | | | | | | | Some targets may support long double variables but in the same time may lack support of long double functions like fabsl(). Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com> | ||||
* | Fix output expectations in cls_dbls_struct.c test | Yuriy Kolerov | 2016-07-29 | 1 | -2/+2 |
| | | | | | | | This test with invalid output expectations may fail on some targets (e.g. ARC processors). Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com> | ||||
* | x86: Fix calling convention for ffi_closure_win64_inner | Richard Henderson | 2016-04-29 | 1 | -0/+1 |
| | | | | Also enable testing for the cross-abi calls. | ||||
* | add ffi_get_struct_offsets | Tom Tromey | 2016-02-22 | 1 | -0/+46 |
| | |||||
* | Tidy call.exp test collection | Richard Henderson | 2015-10-20 | 1 | -1/+1 |
| | | | | | | Commit c952a92e20aa6013d8202d0b3fa1d87838c83054 moved all of the complex tests to libffi.complex, but failed to remove the anti-globbing from libffi.call. | ||||
* | Test case from Issue #70 | Richard Henderson | 2015-10-20 | 1 | -0/+46 |
| | |||||
* | New test case for old aarch64 bug | Anthony Green | 2015-01-13 | 1 | -0/+127 |
| | |||||
* | Merge pull request #145 from rth7680/master | Anthony Green | 2014-11-15 | 41 | -935/+0 |
|\ | | | | | Configure and testsuite cleanups, v2 |