summaryrefslogtreecommitdiffstats
path: root/SCons/Node/NodeTests.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-12-14 04:11:49 (GMT)
committerGitHub <noreply@github.com>2020-12-14 04:11:49 (GMT)
commite64123b82ec401e3b34aefd3f9524b8a69f0d214 (patch)
treeef4a72b6780765c8cc31c62202f8306a57bcf48b /SCons/Node/NodeTests.py
parent465d508842fee8f7b9b693567b1dbde3b896fbf3 (diff)
parent4ab992d0ce34ed12141975082e23a36ccde4d310 (diff)
downloadSCons-e64123b82ec401e3b34aefd3f9524b8a69f0d214.zip
SCons-e64123b82ec401e3b34aefd3f9524b8a69f0d214.tar.gz
SCons-e64123b82ec401e3b34aefd3f9524b8a69f0d214.tar.bz2
Merge pull request #3817 from grossag/topic/grossag/clearcachednodeinfo
Fix invalid cache state when using SCons interactive mode
Diffstat (limited to 'SCons/Node/NodeTests.py')
-rw-r--r--SCons/Node/NodeTests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/SCons/Node/NodeTests.py b/SCons/Node/NodeTests.py
index 6e240d4..29a3887 100644
--- a/SCons/Node/NodeTests.py
+++ b/SCons/Node/NodeTests.py
@@ -1297,6 +1297,7 @@ class NodeTestCase(unittest.TestCase):
n.includes = 'testincludes'
n.Tag('found_includes', {'testkey':'testvalue'})
n.implicit = 'testimplicit'
+ n.cached = 1
x = MyExecutor()
n.set_executor(x)
@@ -1304,6 +1305,7 @@ class NodeTestCase(unittest.TestCase):
n.clear()
assert n.includes is None, n.includes
+ assert n.cached == 0, n.cached
assert x.cleaned_up
def test_get_subst_proxy(self):