refactor(tfut): move common run code to a shared file

Some existing functions used in existing TF-A tests are re-used for
unit tests. In order to avoid code duplication, these functions were
moved to a common file.

Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
Signed-off-by: Edward Potapov <edward.potapov@arm.com>
Change-Id: Ic4c507fa457333b6a70824050df28420a3f1c7c5
2 files changed