tests: check for gem5 binary before tests
authorCurtis Dunham <Curtis.Dunham@arm.com>
Tue, 14 Feb 2017 21:09:18 +0000 (15:09 -0600)
committerCurtis Dunham <Curtis.Dunham@arm.com>
Tue, 14 Feb 2017 21:09:18 +0000 (15:09 -0600)
commit94e612665020d49e6cba659536e315be8ef1c71e
tree59a1014d95f716ec57fcd2e57777c827f193d13c
parent5638a074b9e493c0b4b2acc627072da5f3e41079
tests: check for gem5 binary before tests

Provides a helpful error when tests.py is invoked without the gem5 binary.

Before:
Running 0 tests

After:
gem5 binary 'quick/...' not an executable file

Change-Id: I1566802206c9e21ca89bd03e91db22844168a085
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
tests/tests.py