summaryrefslogtreecommitdiff
path: root/src/cpu/testers
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/testers')
-rw-r--r--src/cpu/testers/directedtest/SConscript2
-rw-r--r--src/cpu/testers/rubytest/SConscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/testers/directedtest/SConscript b/src/cpu/testers/directedtest/SConscript
index a321a404c..01e778fd5 100644
--- a/src/cpu/testers/directedtest/SConscript
+++ b/src/cpu/testers/directedtest/SConscript
@@ -35,7 +35,7 @@ Import('*')
# When this dependency is removed, the ruby tester should be compiled
# independently from Ruby
#
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('RubyDirectedTester.py')
diff --git a/src/cpu/testers/rubytest/SConscript b/src/cpu/testers/rubytest/SConscript
index 1b65932e7..70a4f480d 100644
--- a/src/cpu/testers/rubytest/SConscript
+++ b/src/cpu/testers/rubytest/SConscript
@@ -35,7 +35,7 @@ Import('*')
# When this dependency is removed, the ruby tester should be compiled
# independently from Ruby
#
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('RubyTester.py')