summaryrefslogtreecommitdiffstats
path: root/test/NodeOps.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/NodeOps.py')
-rw-r--r--test/NodeOps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/NodeOps.py b/test/NodeOps.py
index 17a0f02..3869228 100644
--- a/test/NodeOps.py
+++ b/test/NodeOps.py
@@ -149,10 +149,10 @@ def exists_test(node):
node.is_derived()
node.is_pseudo_derived()
import SCons.Script
- if SCons.Script.Main.options.noexec:
+ if GetOption('no_exec'):
if (before,via_node,after) != (False,False,False):
import sys
- sys.stderr.write('BuildDir exits() populated during dryrun!\n')
+ sys.stderr.write('BuildDir exists() populated during dryrun!\n')
sys.exit(-2)
else:
if (before,via_node,after) != (False,True,True):