1 2# Verifying test suite on emulation platform 3 4## Build steps for target image 5 6To generate the target image for the virtual target, follow these steps: 7~~~ 8 cd psa-arch-tests/secure-debug/psa-adac 9 make native 10~~~ 11 12## Build steps for host image 13 14To build ADAC test suite, execute the following commands: <br/> 15~~~ 16 cd psa-arch-tests/secure-debug 17 mkdir <host_build_dir> 18 cd <host_build_dir> 19 cmake ../ -G"Unix Makefiles" -DTARGET=emulation -DSUITE=ADAC 20 cmake --build . 21~~~ 22 23## Test Suite Execution 24 25The current release provides a reference implementation of ADAC target which communicates with the host platform using Unix sockets. 26To launch the target to run as a server instance, run the target executable in another terminal as shown: 27~~~ 28 cd psa-arch-tests/secure-debug/psa-adac 29 ./build/native/Debug/psa_adac_server coms.socket tools/test/resources/chains/chain.EcdsaP256-3 30~~~ 31 32To run the test suite, execute the following command from your host build directory <host_build_dir>: 33~~~ 34 ./psa_adac_test ../psa-adac/tools/test/resources/keys/EcdsaP256Key-3.pem \../psa-adac/tools/test/resources/chains/chain.EcdsaP256-3 ../psa-adac/coms.socket 35~~~ 36-------------- 37 38*Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.* 39