summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2009-07-06 22:45:58 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2009-07-06 22:45:58 -0700
commitd7f9c86981944cd6345390272e9430aeccc4c7d2 (patch)
treea4a90f3edba27b6deb63012f64a31ca9c1a84468
parent7ffb8e59143ba13b79077f11c3d01f039c115d9f (diff)
downloadgem5-d7f9c86981944cd6345390272e9430aeccc4c7d2.tar.xz
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).
-rw-r--r--tests/SConscript3
-rw-r--r--tests/quick/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip1
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/SConscript b/tests/SConscript
index 44389142d..8e219b30e 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -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
index 000000000..9b90a4abd
--- /dev/null
+++ b/tests/quick/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip
@@ -0,0 +1 @@
+Skipping for now due to broken atomics in ruby