From 098b16ca83b3b991d085659ca7f2db5f5624042a Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Wed, 17 Apr 2019 09:01:31 -0400 Subject: [PATCH] curves.pl - change test script to not depend on the implementation Currently the top-level makefile deploys commands to both Mbed TLS and the submodule. Running make in the "tests" directory builds only the TLS tests. The top level CMake on the other hand does not have the "tests" target defined, so it also cannot be used, hence the raw "make". --- tests/scripts/curves.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/curves.pl b/tests/scripts/curves.pl index ddc90c580a..4791d5521d 100755 --- a/tests/scripts/curves.pl +++ b/tests/scripts/curves.pl @@ -57,7 +57,7 @@ for my $curve (@curves) { system( "CFLAGS='-Werror -Wall -Wextra' make lib" ) and abort "Failed to build lib: $curve\n"; - system( "cd tests && make" ) and abort "Failed to build tests: $curve\n"; + system( "make" ) and abort "Failed to build tests: $curve\n"; system( "make test" ) and abort "Failed test suite: $curve\n"; }