From: Steve Reinhardt Date: Tue, 7 Jul 2009 05:45:58 +0000 (-0700) Subject: Add ability to skip tests by adding 'skip' file to test dir, X-Git-Tag: Calvin_Submission~225 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7f9c86981944cd6345390272e9430aeccc4c7d2;p=gem5.git 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). --- 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