summaryrefslogtreecommitdiff
path: root/tests/quick/se/40.m5threads-test-atomic/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/quick/se/40.m5threads-test-atomic/test.py')
-rwxr-xr-xtests/quick/se/40.m5threads-test-atomic/test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/quick/se/40.m5threads-test-atomic/test.py b/tests/quick/se/40.m5threads-test-atomic/test.py
new file mode 100755
index 000000000..50976c771
--- /dev/null
+++ b/tests/quick/se/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