tests: Add base class for fixtures that generate a target file
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 18 Jun 2019 10:47:22 +0000 (11:47 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Fri, 9 Aug 2019 10:55:19 +0000 (10:55 +0000)
commit52189147737c7b2c727e42e07676547083469dff
tree322c50b1e6cf481f6b197396e47ee305eb980fec
parentdc5255f1d2bb0674d14c4b6722b0519da48ba002
tests: Add base class for fixtures that generate a target file

The new TargetFixture can be used as a base class for fixtures that
generate/download a file. These fixtures are guarrantied to be unique
and their setup function is only executed once.

Change-Id: I6a8737b06c4e74f3e29736ec363f61251d85da8c
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19250
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
tests/gem5/fixture.py