summaryrefslogtreecommitdiff
path: root/src/unittest/stattest.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-01-16 14:58:11 -0800
committerGabe Black <gabeblack@google.com>2019-01-17 20:09:35 +0000
commit5dda7fb959682f9e051a12de15b982f03adbc1fb (patch)
tree9c602302909c1c269eeba9e8eb915674a1e32d88 /src/unittest/stattest.cc
parentfa0c2bd148419c5e6f17d5fd28aeae90fedad3da (diff)
downloadgem5-5dda7fb959682f9e051a12de15b982f03adbc1fb.tar.xz
tests: Fix tests/main.py so it can be run from anywhere.
tests/main.py was trying to find paths relative to itself using the string __name__ (which was __main__) when it should have been using the string __file__ which holds the name of the file being executed. Change-Id: I5ff4c42fc7d8b75ff6b96c3cde61baf731d84738 Reviewed-on: https://gem5-review.googlesource.com/c/15675 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/unittest/stattest.cc')
0 files changed, 0 insertions, 0 deletions