diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index c4ba85611d..449701c9ab 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -218,12 +218,12 @@ if (NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_VERSION VERS set_target_properties(rnp_tests PROPERTIES CXX_VISIBILITY_PRESET hidden) endif() -gtest_discover_tests(rnp_tests - PROPERTIES - FIXTURES_REQUIRED testdata - TIMEOUT 3000 - ENVIRONMENT "RNP_TEST_DATA=${CMAKE_CURRENT_SOURCE_DIR}/data" -) +#gtest_discover_tests(rnp_tests +# PROPERTIES +# FIXTURES_REQUIRED testdata +# TIMEOUT 3000 +# ENVIRONMENT "RNP_TEST_DATA=${CMAKE_CURRENT_SOURCE_DIR}/data" +#) # cli_tests # Note that we do this call early because Google Test will also do @@ -265,5 +265,7 @@ string(REGEX REPLACE ";" "\\\\;" suitelist "${suitelist}") string(REGEX REPLACE "\n" ";" suitelist "${suitelist}") # create a CTest test for each suite foreach(suite IN LISTS suitelist) - add_cli_test("${suite}") + #add_cli_test("${suite}") endforeach() + +add_cli_test("Encryption.test_sym_encryption__rnp_aead") diff --git a/src/tests/cli_tests.py b/src/tests/cli_tests.py index 1f4981005f..72c225e853 100755 --- a/src/tests/cli_tests.py +++ b/src/tests/cli_tests.py @@ -4161,8 +4161,10 @@ def test_sym_encryption__rnp_aead(self): AEAD_B = list_upto([None, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16], Encryption.RUNS) # Encrypt and decrypt cleartext using the AEAD + rnp_sym_encryption_rnp_aead(1024, 'AES192', None, [None, None], GPG_AEAD) for size, cipher, aead, bits, z in zip(Encryption.SIZES_R, AEAD_C, AEAD_M, AEAD_B, Encryption.Z_R): + print('size :' + str(size) + ' cipher: ' + cipher + ' aead: ' + str(aead) + ' bits: ' + str(bits) + ' z: ' + str(z)) rnp_sym_encryption_rnp_aead(size, cipher, z, [aead, bits], GPG_AEAD) def test_aead_chunk_edge_cases(self):