diff --git a/cmake_targets/autotests/run_compilation_autotests.bash b/cmake_targets/autotests/run_compilation_autotests.bash index f2f30e67dfed0dba3dcf3f6c391a4e67e2de0115..f7df4e28007ee210c6e38b59d0dcb2fd9ebeb62b 100755 --- a/cmake_targets/autotests/run_compilation_autotests.bash +++ b/cmake_targets/autotests/run_compilation_autotests.bash @@ -30,7 +30,7 @@ test_compile() { cmake .. rm -f $exec_prog make -j`nproc` $compile_prog - } > $log_file 2>&1 + } >> $log_file 2>&1 if [ -s $exec_prog ] ; then cp $exec_prog $tdir/bin/`basename $exec_prog`.$target.$test_name echo_success "$test_name $exec_prog $target compiled" @@ -101,6 +101,44 @@ test_compile \ test.0104 mbmssim \ mbmssim $tdir/bin/mbmssim mbmssim.Rel8 +simlist=" secu_knas_encrypt_eea2 secu_knas kdf aes128_cmac_encrypt secu_knas_encrypt_eia2" + +test_compile \ + test.0104 test_secu_knas_encrypt_eia1 \ + test_secu_knas_encrypt_eia1 $tdir/bin/test_secu_knas_encrypt_eia1 test_secu_knas_encrypt_eia1.Rel10 + +test_compile \ + test.0104 test_secu_kenb \ + test_secu_kenb $tdir/bin/test_secu_kenb test_secu_kenb.Rel10 + +test_compile \ + test.0104 test_aes128_ctr_encrypt \ + test_aes128_ctr_encrypt $tdir/bin/test_aes128_ctr_encrypt test_aes128_ctr_encrypt.Rel10 + +test_compile \ + test.0104 test_aes128_ctr_decrypt \ + test_aes128_ctr_decrypt $tdir/bin/test_aes128_ctr_decrypt test_aes128_ctr_decrypt.Rel10 + +test_compile \ + test.0104 test_secu_knas_encrypt_eea2 \ + test_secu_knas_encrypt_eea2 $tdir/bin/test_secu_knas_encrypt_eea2 test_secu_knas_encrypt_eea2.Rel10 + +test_compile \ + test.0104 test_secu_knas \ + test_secu_knas $tdir/bin/test_secu_knas test_secu_knas.Rel10 + +test_compile \ + test.0104 test_kdf \ + test_kdf $tdir/bin/test_kdf test_kdf.Rel10 + +test_compile \ + test.0104 test_aes128_cmac_encrypt \ + test_aes128_cmac_encrypt $tdir/bin/test_aes128_cmac_encrypt test_aes128_cmac_encrypt.Rel10 + +test_compile \ + test.0104 test_secu_knas_encrypt_eia2 \ + test_secu_knas_encrypt_eia2 $tdir/bin/test_secu_knas_encrypt_eia2 test_secu_knas_encrypt_eia2.Rel10 + test_compile \ test.0106 oaisim \ oaisim $tdir/bin/oaisim.r8.itti Rel8.itti diff --git a/cmake_targets/build_oai b/cmake_targets/build_oai index c1974f90e8911c0e7b44b6bf0ba472a1c186eac1..24fc3c521f30753156c35b22b9958de950103e42 100755 --- a/cmake_targets/build_oai +++ b/cmake_targets/build_oai @@ -564,6 +564,8 @@ function main() { ##################### if [ "$OAI_TEST" = "1" ]; then echo_info "10. Running OAI pre commit tests (pre-ci) ..." + rm -fr $OPENAIR_DIR/cmake_targets/autotests/log + mkdir -p $OPENAIR_DIR/cmake_targets/autotests/log $OPENAIR_DIR/cmake_targets/autotests/run_compilation_autotests.bash $OPENAIR_DIR/cmake_targets/autotests/run_exec_autotests.bash else