From ec688b4723a041044226358bcd4dd6e2da39da49 Mon Sep 17 00:00:00 2001 From: Luca Muscariello Date: Thu, 23 Feb 2017 17:01:02 +0100 Subject: Initial commit: cframework. Longbow and Libparc Change-Id: I90378dbd30da6033b20fb1f829b3b822cf366c59 Signed-off-by: Luca Muscariello --- libparc/parc/security/test/CMakeLists.txt | 75 +++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 libparc/parc/security/test/CMakeLists.txt (limited to 'libparc/parc/security/test/CMakeLists.txt') diff --git a/libparc/parc/security/test/CMakeLists.txt b/libparc/parc/security/test/CMakeLists.txt new file mode 100644 index 00000000..189bc7ca --- /dev/null +++ b/libparc/parc/security/test/CMakeLists.txt @@ -0,0 +1,75 @@ +set(TestsExpectedToPass + test_parc_Certificate + test_parc_CertificateFactory + test_parc_CertificateType + test_parc_ContainerEncoding + test_parc_CryptoCache + test_parc_CryptoHash + test_parc_CryptoHashType + test_parc_CryptoHasher + test_parc_CryptoSuite + test_parc_DiffieHellman + test_parc_DiffieHellmanKeyShare + test_parc_Identity + test_parc_IdentityFile + test_parc_InMemoryVerifier + test_parc_Key + test_parc_KeyId + test_parc_KeyStore + test_parc_SecureRandom + test_parc_Pkcs12KeyStore + test_parc_PublicKeySigner + test_parc_SymmetricKeySigner + test_parc_SymmetricKeyStore + test_parc_Security + test_parc_Signature + test_parc_Signer + test_parc_SigningAlgorithm + test_parc_Verifier + test_parc_X509Certificate + ) + +set(EXTRA_DATA_FILES + README.digests + README.keystore + README.symmetric + test_crt.der + test_crt_der.bin + test_crt_sha256.bin + test_der.bin + test_digest_bytes_128.bin + test_digest_bytes_128.sha256 + test_digest_bytes_128.sha512 + test.pem + test_pubkey.bin + test_pubkey.der + test_pubkey.pem + test_random_bytes + test_random_bytes.sig + test_random_bytes.hmac_sha256 + test_random_bytes.hmac_sha512 + test_rsa.p12 + test_rsa_crt.der + test_rsa_crt_sha256.bin + test_rsa_key.der + test_rsa_key.pem + test_rsa_pub.der + test_rsa_pub.pem + test_rsa_pub_sha256.bin + test_symmetric_key.bin + test_symmetric_key.sha256 + ) + +foreach(data_file ${EXTRA_DATA_FILES}) + configure_file(${data_file} ${data_file} COPYONLY) +endforeach() + + +# Enable gcov output for the tests +add_definitions(--coverage) +set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} " --coverage") + + +foreach(test ${TestsExpectedToPass}) + AddTest(${test}) +endforeach() -- cgit 1.2.3-korg