Add ability to skip tests by adding 'skip' file to test dir,
authorSteve Reinhardt <steve.reinhardt@amd.com>
Tue, 7 Jul 2009 05:45:58 +0000 (22:45 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Tue, 7 Jul 2009 05:45:58 +0000 (22:45 -0700)
and skip simple-timing-mp-ruby test for now (until we fix ruby atomics).

tests/SConscript
tests/quick/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip [new file with mode: 0644]

index 44389142dfa6449f50172eb9c025a05e0cd4febb..8e219b30e374cf725792c43586c28709321f2044 100644 (file)
@@ -275,5 +275,6 @@ os.chdir(str(Dir('.').srcdir))
 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 --git a/tests/quick/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip b/tests/quick/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip
new file mode 100644 (file)
index 0000000..9b90a4a
--- /dev/null
@@ -0,0 +1 @@
+Skipping for now due to broken atomics in ruby