Skip to content

create_test_sourcelist: add option to test driver to run all tests at once

Sergey requested to merge sergeyb/cmake:test_driver_tap13_support into master

New option -A passed to test binary allows to run all testcases at once and prints a report in a standard format - TestAnythingProtocol v.13. Execution of test whose names will be passed after an option will be skipped.

Sample of output:

TAP version 13
1..6
ok 1 TestCryptoHash # 0.030000
ok 2 TestCryptoRand # 0.008000
not ok 3 TestCryptoCipher # 0.005000
ok 4 TestCryptoProtectData # 0.000000
cbPlainText: 21 cbCipherText: 32
PlainText: MySecretPassword123! (cbPlainText = 21, cbCipherText = 32)
Decrypted CipherText: MySecretPassword123!
ok 5 TestCryptoProtectMemory # 0.014000
ok 6 TestCryptoCertEnumCertificatesInStore # 0.000000

Fixes: #19367 (closed)

Edited by Sergey

Merge request reports