Skip to content
  • Sergey's avatar
    create_test_sourcelist: add test driver option to run all tests · 3f6ff4b5
    Sergey authored and Brad King's avatar Brad King committed
    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 [1].
    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
    
    1. https://testanything.org/
    
    Fixes: #19367
    3f6ff4b5