ext,tests: Copy test's output files from /tmp to testing-results
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Thu, 3 Sep 2020 08:36:35 +0000 (01:36 -0700)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Tue, 8 Sep 2020 18:28:17 +0000 (18:28 +0000)
commitcaf09cc5653c6f1abc2ba81010a7b37e3643e80d
tree55e5c5d1388c569e32d55f46264635b296ec57fb
parentb540954e20a82c69ac5704de78f1855e47c1247e
ext,tests: Copy test's output files from /tmp to testing-results

When a test is complete, the output files are in a random folder
in /tmp.

This commit adds a procedure copying those files to
testing-results/SuiteUID/TestUID/ folder, where SuiteUID and
TestUID are the corresponding uid's of the test.

This procedure is triggered after a test is complete and before
the folder in /tmp being removed.

Change-Id: Id960e7f2f1629769008ae99aff4c8bfafa9ca849
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33998
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
tests/gem5/fixture.py