[openssl-users] How do I run the OpenSSL library self-tests on embedded platforms

Jakob Bohm jb-openssl at wisemo.com
Thu Nov 16 23:30:28 UTC 2017


(This is for the regular OpenSSL 1.0.2, not 1.1.x):

As I build OpenSSL for various embedded or semi-embedded (mobile)
platforms, I have run into the basic issue of how to run the equivalent
of "make test" when the code is compiled for an embedded platform that
is neither self-hosting (so make, compilers etc. are not available on
the target), nor inherently command line oriented.

The only thing I can find in the included docs (so far) is that a
special procedure was created for Windows CE (which I also target),
but I find no instructions for other embedded/mobile targets such as
iOS and bare hardware.

For example is there a known-good way to compile the test scripts
into one or more functions that can be called from a platform-specific
test program without relying on the availability of such POSIXly
things as stdout, terminals, shells etc.  (CE does have such things,
and those are used in the CE procedure).

Regression testing is desired as I have done some fairly extensive
patching to make the library code build for the targets.

Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded



More information about the openssl-users mailing list