]> granicus.if.org Git - php/commit
Improve FFI test suite for Windows
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 13 Mar 2020 13:09:53 +0000 (14:09 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 18 Mar 2020 15:53:06 +0000 (16:53 +0100)
commit280485adc1bae2b33f4eb42271ecd32d4bef3019
treef17b14f540ca31216229f8572569b8659c3f2108
parent10bf541fd9eb7b42503459065a0474b6f0e37a7b
Improve FFI test suite for Windows

We add Windows support to four existing test cases, extract some useful
utility functions, and use them to simplify further test cases.

We also remove the Windows specific code from preload.inc, since
preloading isn't supported on Windows anyway.
ext/ffi/tests/100.phpt
ext/ffi/tests/101.phpt
ext/ffi/tests/200.phpt
ext/ffi/tests/301-win32.phpt
ext/ffi/tests/bug77632b.phpt
ext/ffi/tests/bug78270_1.phpt
ext/ffi/tests/bug78270_2.phpt
ext/ffi/tests/bug78714.phpt
ext/ffi/tests/bug79096.phpt
ext/ffi/tests/preload.inc
ext/ffi/tests/utils.inc [new file with mode: 0644]