From 717d55edbe60f310a2118a8a6e88c6e6e0c70633 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 4 Feb 2022 00:25:06 +0100 Subject: [PATCH] Remove obsolete cd at the end of a component This is no longer useful now that components run in a subshell. Signed-off-by: Gilles Peskine --- tests/scripts/all.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index d70ed7738e..24fc27d225 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -2996,15 +2996,10 @@ component_test_cmake_out_of_source () { component_test_cmake_as_subdirectory () { msg "build: cmake 'as-subdirectory' build" - MBEDTLS_ROOT_DIR="$PWD" - cd programs/test/cmake_subproject cmake . make ./cmake_subproject - - cd "$MBEDTLS_ROOT_DIR" - unset MBEDTLS_ROOT_DIR } support_test_cmake_as_subdirectory () { support_test_cmake_out_of_source