ext: Fix tmpfiles in testlib
authorJason Lowe-Power <jason@lowepower.com>
Tue, 16 Jul 2019 22:13:06 +0000 (15:13 -0700)
committerJason Lowe-Power <power.jg@gmail.com>
Sat, 2 May 2020 00:23:12 +0000 (00:23 +0000)
commit88d845aba16bdda902f22ab8338f8c46ff801e49
tree7a27129cc4b4d387fa2357cf34f52708258261b0
parenta0414b585b97e798807e7a8fc62450f191ccbb08
ext: Fix tmpfiles in testlib

Previously, the testlib would generate and not clean up 100s of
temporary files in /tmp. This puts all of the tempfiles in the same
directory to make sure they are cleaned up on a successful test.

Change-Id: If4dcd93ab4b5df556c046753266a71365d1388c1
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19528
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
ext/testlib/helper.py