summaryrefslogtreecommitdiff
path: root/testsuite/libffi.call
Commit message (Collapse)AuthorAgeFilesLines
* Test idea borrowed from cpythonAnthony Green2022-09-241-0/+90
|
* Add test case transcribed from cpythonAnthony Green2022-09-241-0/+63
|
* Add test caseAnthony Green2022-09-181-0/+60
|
* Add missing ABI_ATTRAnthony Green2022-09-181-1/+1
|
* Fix test headersAnthony Green2022-09-151-1/+1
|
* msvc requires the printf change, not mingwAnthony Green2022-09-151-2/+2
|
* Fix test caseAnthony Green2022-09-141-4/+5
|
* Improve test caseAnthony Green2022-09-141-2/+2
|
* Add test caseAnthony Green2022-09-141-0/+40
|
* New test casesAnthony Green2022-05-283-0/+195
|
* Fix check for invalid varargs arguments. (#707)Roland Schatz2022-05-231-0/+154
|
* Clean up typesAnthony Green2022-05-221-9/+8
|
* testsuite/libffi.call: fix mismatching return types (#679)Andreas Schwab2021-12-234-7/+7
| | | Co-authored-by: Andreas Schwab <schwab@suse.de>
* No more xfail for alphaAnthony Green2021-07-291-1/+1
|
* Test passing structs by valueAnthony Green2021-07-292-0/+154
|
* Fix test checkAnthony Green2021-07-161-1/+1
|
* Fix test checkAnthony Green2021-07-161-1/+1
|
* Use CHECK to assert more things in test suite (#654)Hood Chatham2021-07-1610-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 Chatham2021-06-271-1/+7
|
* This test includes a closure and must live in the closures test directory. ↵Matthew Green2021-06-261-107/+0
| | | | | (#645) Co-authored-by: Matthew Green <squidhacks@users.noreply.github.com>
* 2021-06-15 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek2021-06-151-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 Green2021-03-232-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.3Anthony Green2019-11-231-111/+0
|
* Move closure test to closure directoryAnthony Green2019-11-221-54/+0
|
* More more closure tests to the closure test directoryAnthony Green2019-11-2220-2601/+0
|
* Move closure tests so we can easily XFAIL them for some targetsAnthony Green2019-11-2274-6167/+0
|
* Fix or1k lack-of-g++ checking in testsuiteAnthony Green2019-11-203-3/+14
|
* No C++ for or1k-unknown-elfAnthony Green2019-11-191-1/+1
|
* No C++ for or1kAnthony Green2019-11-191-1/+1
|
* Disable type warnings for or1k.Anthony Green2019-11-191-1/+1
|
* No c++ for or1k-elfAnthony Green2019-11-191-1/+1
|
* Mark xfail for m68k and alpha.Anthony Green2019-11-071-1/+1
|
* Making the change to correct the comment when SUN (#521)pichikaudaykiran2019-10-091-8/+9
| | | and GCC are used together
* Fix appveyor windows build (#420)fwg2018-04-021-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 Green2018-03-292-1/+47
|
* msvc c99 hackAnthony Green2018-03-271-2/+2
|
* msvc fixesAnthony Green2018-03-271-0/+2
|
* Remove uninitialized warning. Fix #163.Anthony Green2018-03-271-0/+1
|
* xfail unwind tests for moxieAnthony Green2018-03-172-2/+2
|
* new test: return small structSergei Trofimovich2018-02-171-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 AArch64Saleem Abdulrasool2017-10-261-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 #279Anthony Green2016-09-041-1/+1
|
* Do not use fabsl() in float2.c testYuriy Kolerov2016-07-291-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 testYuriy Kolerov2016-07-291-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_innerRichard Henderson2016-04-291-0/+1
| | | | Also enable testing for the cross-abi calls.
* add ffi_get_struct_offsetsTom Tromey2016-02-221-0/+46
|
* Tidy call.exp test collectionRichard Henderson2015-10-201-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 #70Richard Henderson2015-10-201-0/+46
|
* New test case for old aarch64 bugAnthony Green2015-01-131-0/+127
|
* Merge pull request #145 from rth7680/masterAnthony Green2014-11-1541-935/+0
|\ | | | | Configure and testsuite cleanups, v2