From f325fba50c6e1cab053e449c420f76256b551867 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 18 Feb 2016 20:50:35 +0100 Subject: [PATCH] Set EXE_EXT environment variable when testing When cross compiling, we may end up with someting like apps/openssl.exe and a number of test/*.exe. However, util/shlib_wrap.sh doesn't know what the executable extension should be, if any, so we need to make sure it has access to that information when testing, since OpenSSL::Test uses that script to execute all programs. Reviewed-by: Rich Salz --- Configurations/unix-Makefile.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 4deab325d1..3cfbfd2e45 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -158,6 +158,7 @@ test tests: build_tests build_apps build_engines rehash ( cd test; \ SRCTOP=../$(SRCDIR) \ BLDTOP=../$(BLDDIR) \ + EXE_EXT=$(EXE_EXT) \ $(PERL) ../$(SRCDIR)/test/run_tests.pl $(TESTS) ) list-tests: -- GitLab