Have OpenSSL::Test handle perl scripts like any program
authorRichard Levitte <levitte@openssl.org>
Tue, 26 Jan 2016 13:57:21 +0000 (14:57 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 26 Jan 2016 14:58:22 +0000 (15:58 +0100)
commita00c84f6c656cdadbaf8bec6149189ba1bd37aee
tree54b4a55aa0e9ee24a135f7dd3b8410cb4da8121f
parenta18a31e49d266b687f425c3c434a5aef1f719e38
Have OpenSSL::Test handle perl scripts like any program

Since we're building some of our perl scripts and the result might not
end up in apps/ (*), we may need to treat them like the compile
programs we use for testing.

This introduces perlapp() and perltest(), which behave like app() and
test(), but will add the perl executable in the command line.

-----

(*) For example, with a mk1mf build, the result will end up in $(BIN_D)

Reviewed-by: Matt Caswell <matt@openssl.org>
test/testlib/OpenSSL/Test.pm