python,test: Fixed boot test in python3 by removing map
authorBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 26 May 2020 22:42:37 +0000 (15:42 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 28 May 2020 04:48:54 +0000 (04:48 +0000)
commit5ad159ea323666640dc3d2e44069ab79c10f8904
tree8c8fa45fdd8a26e315d46d3e3f67dc8172190720
parent1f292ed846c7c78d635c3d6668988f0d558773ad
python,test: Fixed boot test in python3 by removing map

In Python3 `map(lambda c: c.createThreads(), self.cpu)` does not
execute `c.createThreads()`. This has been replaced with a for-loop
which does work. Without this fix, the boot tests do not run in python3.

Change-Id: I50d6c85ec4435ee04e248ea8bc4a3b4cc17c88fa
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29456
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
tests/gem5/x86-boot-tests/system/system.py