summaryrefslogtreecommitdiffstats
path: root/test/scan-once.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-01-21 12:00:30 (GMT)
committerSteven Knight <knight@baldmt.com>2005-01-21 12:00:30 (GMT)
commit3a7fe065024f9bb6301560f62695c7f3d36a8143 (patch)
tree43dc31c3adcc426161d7c53c9a60cc9ec1d5ac35 /test/scan-once.py
parent0b6e3bec86b7cfe449c63094a08b8821fe17e843 (diff)
downloadSCons-3a7fe065024f9bb6301560f62695c7f3d36a8143.zip
SCons-3a7fe065024f9bb6301560f62695c7f3d36a8143.tar.gz
SCons-3a7fe065024f9bb6301560f62695c7f3d36a8143.tar.bz2
Regain lost performance improvements by using paths instead of targets for scanner calls and re-using Binder objects for identical paths.
Diffstat (limited to 'test/scan-once.py')
-rw-r--r--test/scan-once.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/scan-once.py b/test/scan-once.py
index cdacccc..fd50982 100644
--- a/test/scan-once.py
+++ b/test/scan-once.py
@@ -482,20 +482,14 @@ test.run(arguments = 'SLF',
# once before they're generated and once after. That's the
# next thing to fix here.
-# Note KWQ 01 Nov 2004: used to check for a one for all counts below;
-# this was indirectly a test that the caching method in use at the
-# time was working. With the introduction of Memoize-based caching,
-# the caching is performed right at the interface level, so the test
-# here cannot be run the same way; ergo real counts are used below.
-
test.must_match("MyCScan.out", """\
libg_1.c: 1
libg_2.c: 1
libg_3.c: 1
-libg_gx.h: 3
+libg_gx.h: 1
libg_gy.h: 1
libg_gz.h: 1
-libg_w.h: 3
+libg_w.h: 1
""")
test.pass_test()