From d7f9c86981944cd6345390272e9430aeccc4c7d2 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Mon, 6 Jul 2009 22:45:58 -0700 Subject: [PATCH] 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). --- tests/SConscript | 3 ++- .../ref/sparc/linux/simple-timing-mp-ruby/skip | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 tests/quick/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip 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 -- 2.30.2