I think I should find alternative method for implementing make check for this project.
On 1.0.2 branch I rewrote all the cases.
They are easy to rewrite since they are just written using Bourne Shell (on Linux / macOS), which is existing knowledge for me. I only rewrote the logic using CMake and it's done.
But thing is different on 1.1.1 or later where it is written using Perl, which is unfourtunately not what I currently understand.
Also I don't think this is necessary since I am just reinventing the wheel.
Thing is I can't just use the original test cases since they depends on the original OpenSSL configuration file configdata.pm, which is generated by Configure.
So the question is how to easily implement make check.
Following solutions available but I have not decided what is the easiest for me.
Generate configdata.pm using CMake, with hand-crafted exported template and run original test cases
Manually reconstruct the build command line and generate configdata.pm using Configure and run original test cases
Manually reconstruct the build command line and build separately another OpenSSL using the original Perl-based instruction, and compare the generated binary files (need investigation for byte to byte consistent)
Manually reconstruct the build command line and build separately another OpenSSL using the original Perl-based instruction, but replace the binary and generated header files to the build result from my CMake project and run the original test cases
I think I should find alternative method for implementing
make check
for this project.On 1.0.2 branch I rewrote all the cases. They are easy to rewrite since they are just written using Bourne Shell (on Linux / macOS), which is existing knowledge for me. I only rewrote the logic using CMake and it's done. But thing is different on 1.1.1 or later where it is written using Perl, which is unfourtunately not what I currently understand. Also I don't think this is necessary since I am just reinventing the wheel.
Thing is I can't just use the original test cases since they depends on the original OpenSSL configuration file
configdata.pm
, which is generated byConfigure
. So the question is how to easily implementmake check
.Following solutions available but I have not decided what is the easiest for me.
configdata.pm
using CMake, with hand-crafted exported template and run original test casesconfigdata.pm
usingConfigure
and run original test casesAll these methods need investigation...