changeset a37f8971b271 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=a37f8971b271
description:
        Add ability to skip tests by adding 'skip' file to test dir,
        and skip simple-timing-mp-ruby test for now (until we fix ruby atomics).

diffstat:

2 files changed, 3 insertions(+), 1 deletion(-)
tests/SConscript                                                                
|    3 ++-
tests/quick/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip 
|    1 +

diffs (16 lines):

diff -r c14db20af064 -r a37f8971b271 tests/SConscript
--- a/tests/SConscript  Mon Jul 06 15:54:18 2009 -0700
+++ b/tests/SConscript  Mon Jul 06 22:45:58 2009 -0700
@@ -275,5 +275,6 @@
 for config in configs:
     dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
     for d in dirs:
-        test_builder(env, d)
+        if not os.path.exists(os.path.join(d, 'skip')):
+            test_builder(env, d)
 os.chdir(cwd)
diff -r c14db20af064 -r a37f8971b271 
tests/quick/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ 
b/tests/quick/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip
   Mon Jul 06 22:45:58 2009 -0700
@@ -0,0 +1,1 @@
+Skipping for now due to broken atomics in ruby
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to