Add virtual smart card emulation for CD/CI.

On each push, the software is built in a container, run as a virtual smartcard and test it.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-02-04 23:47:49 +01:00
parent 1288d25999
commit e697e30c6c
6 changed files with 193 additions and 0 deletions

6
tests/run-test-in-docker.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash -eu
source tests/docker_env.sh
run_in_docker rm -f memory.flash
run_in_docker ./tests/start-up-and-test.sh