summaryrefslogtreecommitdiff
path: root/tests/quick/40.m5threads-test-atomic/test.py
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2009-04-21 08:37:50 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2009-04-21 08:37:50 -0700
commit7b2f8e6857c035f6ae1d24abaab41915070705e3 (patch)
treec9204863c91d80ccdc0c0404993b27b675d80e3d /tests/quick/40.m5threads-test-atomic/test.py
parent03b3925e58505c7781b56888019e2f9ea0b85e56 (diff)
downloadgem5-7b2f8e6857c035f6ae1d24abaab41915070705e3.tar.xz
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.
Diffstat (limited to 'tests/quick/40.m5threads-test-atomic/test.py')
-rw-r--r--tests/quick/40.m5threads-test-atomic/test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/quick/40.m5threads-test-atomic/test.py b/tests/quick/40.m5threads-test-atomic/test.py
new file mode 100644
index 000000000..50976c771
--- /dev/null
+++ b/tests/quick/40.m5threads-test-atomic/test.py
@@ -0,0 +1,5 @@
+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