gem5/tests/quick/40.m5threads-test-atomic/test.py
Steve Reinhardt 7b2f8e6857 Set up m5threads tests on classic (non-ruby) memory system.
Just one test (40.m5threads-test-atomic) is set up for now.
These tests require that the m5threads SPARC binaries are present
in /dist or in test-progs.
2009-04-21 08:37:50 -07:00

5 lines
201 B
Python

process = LiveProcess(executable = binpath('m5threads', 'test_atomic'),
cmd = ['test_atomic', str(nb_cores)])
for i in range(nb_cores):
root.system.cpu[i].workload = process