[Vm-dev] [ANN] Automated Tests for Squeak FFI

Marcel Taeumel marcel.taeumel at hpi.de
Wed Aug 11 13:31:05 UTC 2021


Hi all --

I set up a workflow to run all FFI tests once per day using the latest (!) OSVM builds in the latest (!) Trunk image with the latest (!) FFI:
https://github.com/marceltaeumel/squeak-ffi/actions/workflows/tests.yml [https://github.com/marceltaeumel/squeak-ffi/actions/workflows/tests.yml]


It was quite simple to set this up thanks to smalltalkCI! :-)
-> https://github.com/hpi-swa/smalltalkCI [https://github.com/hpi-swa/smalltalkCI]


Using Windows, Linux, and macOS, it will install FFI and run the tests. Then, it will repeat this with images produced for the other platforms respectively. This results in 9 total jobs. Intermediate images remain available for 7 days, one for each platform.

The test results are kept around here:
https://github.com/marceltaeumel/squeak-ffi/releases/tag/latest-test-builds [https://github.com/marceltaeumel/squeak-ffi/releases/tag/latest-test-builds]


With the latest FFI updates (from today), there are no platform-switch issues anymore. However, we have the following issues:

LINUX

FFIPluginConstructedTests
✗ #testArrayResultWithString (3ms)
ExternalTypeTests
✗ #testIntegerTypeRange (4ms)
FFIPluginLibraryTests
✗ #testArrayResultWithString (0ms)
FFIPluginTests
✗ #testArrayResultWithString (0ms)


WINDOWS

ExternalTypeTests
✗ #testIntegerTypeRange (4ms)


MACOS

ExternalTypeTests
✗ #testIntegerTypeRange (5ms)


Happy coding! :-)

Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210811/a39fca87/attachment.html>


More information about the Vm-dev mailing list