1Running Tests
2=============
3
4
5
6Running component tests
7-----------------------
8On successfully completing the steps above, a binary executable called 'component-test'
9will have been created.  Because this deployment targets the linux-pc environment, the
10executable may be run as a native application.  The application uses the stock CppUtest
11command line test runner.
12
13To run component tests, use::
14
15  ./component-test -v
16
17  Typical verbose output:
18  TEST(PackedCprotocolChecks, checkTsStatusCodes) - 0 ms
19  TEST(InternalTrustedStorageTests, storeNewItem) - 0 ms
20  TEST(E2EcryptoOpTests, generateRandomNumbers) - 2 ms
21  TEST(E2EcryptoOpTests, asymEncryptDecrypt) - 4 ms
22  TEST(E2EcryptoOpTests, signAndVerifyHash) - 40 ms
23  TEST(E2EcryptoOpTests, exportAndImportKeyPair) - 18 ms
24  TEST(E2EcryptoOpTests, exportPublicKey) - 7 ms
25  TEST(E2EcryptoOpTests, generatePersistentKeys) - 39 ms
26  TEST(E2EcryptoOpTests, generateVolatileKeys) - 20 ms
27  TEST(CryptoFaultTests, randomNumbersWithBrokenStorage) - 0 ms
28  TEST(CryptoFaultTests, persistentKeysWithBrokenStorage) - 9 ms
29  TEST(CryptoFaultTests, volatileKeyWithBrokenStorage) - 8 ms
30  TEST(PocCryptoOpTests, checkOpSequence) - 13 ms
31  TEST(CryptoMsgTests, SignHashOutMsgTest) - 0 ms
32  TEST(CryptoMsgTests, SignHashInMsgTest) - 0 ms
33  TEST(CryptoMsgTests, ExportPublicKeyOutMsgTest) - 1 ms
34  TEST(CryptoMsgTests, ExportPublicKeyInMsgTest) - 0 ms
35  TEST(CryptoMsgTests, GenerateKeyInMsgTest) - 0 ms
36  TEST(ServiceFrameworkTests, serviceWithOps) - 0 ms
37  TEST(ServiceFrameworkTests, serviceWithNoOps) - 0 ms
38  TEST(TsDemoTests, runTsDemo) - 71 ms
39
40  OK (21 tests, 21 ran, 159 checks, 0 ignored, 0 filtered out, 233 ms)
41
42
43
44--------------
45
46*Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.*
47
48SPDX-License-Identifier: BSD-3-Clause
49