mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
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 <Gilles.Peskine@arm.com>
This commit is contained in:
@@ -2912,15 +2912,10 @@ component_test_cmake_out_of_source () {
|
|||||||
|
|
||||||
component_test_cmake_as_subdirectory () {
|
component_test_cmake_as_subdirectory () {
|
||||||
msg "build: cmake 'as-subdirectory' build"
|
msg "build: cmake 'as-subdirectory' build"
|
||||||
MBEDTLS_ROOT_DIR="$PWD"
|
|
||||||
|
|
||||||
cd programs/test/cmake_subproject
|
cd programs/test/cmake_subproject
|
||||||
cmake .
|
cmake .
|
||||||
make
|
make
|
||||||
./cmake_subproject
|
./cmake_subproject
|
||||||
|
|
||||||
cd "$MBEDTLS_ROOT_DIR"
|
|
||||||
unset MBEDTLS_ROOT_DIR
|
|
||||||
}
|
}
|
||||||
support_test_cmake_as_subdirectory () {
|
support_test_cmake_as_subdirectory () {
|
||||||
support_test_cmake_out_of_source
|
support_test_cmake_out_of_source
|
||||||
@@ -2928,15 +2923,10 @@ support_test_cmake_as_subdirectory () {
|
|||||||
|
|
||||||
component_test_cmake_as_package () {
|
component_test_cmake_as_package () {
|
||||||
msg "build: cmake 'as-package' build"
|
msg "build: cmake 'as-package' build"
|
||||||
MBEDTLS_ROOT_DIR="$PWD"
|
|
||||||
|
|
||||||
cd programs/test/cmake_package
|
cd programs/test/cmake_package
|
||||||
cmake .
|
cmake .
|
||||||
make
|
make
|
||||||
./cmake_package
|
./cmake_package
|
||||||
|
|
||||||
cd "$MBEDTLS_ROOT_DIR"
|
|
||||||
unset MBEDTLS_ROOT_DIR
|
|
||||||
}
|
}
|
||||||
support_test_cmake_as_package () {
|
support_test_cmake_as_package () {
|
||||||
support_test_cmake_out_of_source
|
support_test_cmake_out_of_source
|
||||||
@@ -2944,15 +2934,10 @@ support_test_cmake_as_package () {
|
|||||||
|
|
||||||
component_test_cmake_as_package_install () {
|
component_test_cmake_as_package_install () {
|
||||||
msg "build: cmake 'as-installed-package' build"
|
msg "build: cmake 'as-installed-package' build"
|
||||||
MBEDTLS_ROOT_DIR="$PWD"
|
|
||||||
|
|
||||||
cd programs/test/cmake_package_install
|
cd programs/test/cmake_package_install
|
||||||
cmake .
|
cmake .
|
||||||
make
|
make
|
||||||
./cmake_package_install
|
./cmake_package_install
|
||||||
|
|
||||||
cd "$MBEDTLS_ROOT_DIR"
|
|
||||||
unset MBEDTLS_ROOT_DIR
|
|
||||||
}
|
}
|
||||||
support_test_cmake_as_package_install () {
|
support_test_cmake_as_package_install () {
|
||||||
support_test_cmake_out_of_source
|
support_test_cmake_out_of_source
|
||||||
|
Reference in New Issue
Block a user