summaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SConscript')
-rw-r--r--tests/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/SConscript b/tests/SConscript
index a44a9a593..b9c08cb14 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -265,8 +265,9 @@ else:
configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest',
'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp']
-# Hack for Ruby
-configs += [c + '-ruby' for c in configs]
+if env['RUBY']:
+ # Hack for Ruby
+ configs += [c + '-ruby' for c in configs]
cwd = os.getcwd()
os.chdir(str(Dir('.').srcdir))