mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-10 07:36:28 -04:00
Group cpp_dummy_build test into an existing component
No need to do yet another build just to compile an additional trivial program. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
e86cdcb7bf
commit
83264bed63
@ -1533,12 +1533,15 @@ component_test_psa_collect_statuses () {
|
|||||||
component_test_full_cmake_clang () {
|
component_test_full_cmake_clang () {
|
||||||
msg "build: cmake, full config, clang" # ~ 50s
|
msg "build: cmake, full config, clang" # ~ 50s
|
||||||
scripts/config.py full
|
scripts/config.py full
|
||||||
CC=clang cmake -D CMAKE_BUILD_TYPE:String=Release -D ENABLE_TESTING=On .
|
CC=clang CXX=clang cmake -D CMAKE_BUILD_TYPE:String=Release -D ENABLE_TESTING=On -D TEST_CPP=1 .
|
||||||
make
|
make
|
||||||
|
|
||||||
msg "test: main suites (full config, clang)" # ~ 5s
|
msg "test: main suites (full config, clang)" # ~ 5s
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
msg "test: cpp_dummy_build (full config, clang)" # ~ 1s
|
||||||
|
programs/test/cpp_dummy_build
|
||||||
|
|
||||||
msg "test: psa_constant_names (full config, clang)" # ~ 1s
|
msg "test: psa_constant_names (full config, clang)" # ~ 1s
|
||||||
tests/scripts/test_psa_constant_names.py
|
tests/scripts/test_psa_constant_names.py
|
||||||
|
|
||||||
@ -1756,15 +1759,6 @@ component_build_key_exchanges () {
|
|||||||
tests/scripts/key-exchanges.pl
|
tests/scripts/key-exchanges.pl
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_make_cxx () {
|
|
||||||
msg "build: Unix make, full, gcc + g++"
|
|
||||||
scripts/config.py full
|
|
||||||
make TEST_CPP=1 lib programs
|
|
||||||
|
|
||||||
msg "test: cpp_dummy_build"
|
|
||||||
programs/test/cpp_dummy_build
|
|
||||||
}
|
|
||||||
|
|
||||||
component_test_no_use_psa_crypto_full_cmake_asan() {
|
component_test_no_use_psa_crypto_full_cmake_asan() {
|
||||||
# full minus MBEDTLS_USE_PSA_CRYPTO: run the same set of tests as basic-build-test.sh
|
# full minus MBEDTLS_USE_PSA_CRYPTO: run the same set of tests as basic-build-test.sh
|
||||||
msg "build: cmake, full config minus MBEDTLS_USE_PSA_CRYPTO, ASan"
|
msg "build: cmake, full config minus MBEDTLS_USE_PSA_CRYPTO, ASan"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user