summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-01-26 16:18:40 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-01-26 16:18:40 (GMT)
commit04ffc9290157c8643f25404b6469b423589ee72d (patch)
tree9a3972984576755e2cae54f6b8a80b0fa67265b8 /test
parent601af04ff6048bc51478c166295cb55105b91803 (diff)
downloadSCons-04ffc9290157c8643f25404b6469b423589ee72d.zip
SCons-04ffc9290157c8643f25404b6469b423589ee72d.tar.gz
SCons-04ffc9290157c8643f25404b6469b423589ee72d.tar.bz2
Minor nit fixes. Typos and better comments
Diffstat (limited to 'test')
-rw-r--r--test/Batch/changed_sources_alwaysbuild.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Batch/changed_sources_alwaysbuild.py b/test/Batch/changed_sources_alwaysbuild.py
index 4446f2d..ba947d6 100644
--- a/test/Batch/changed_sources_alwaysbuild.py
+++ b/test/Batch/changed_sources_alwaysbuild.py
@@ -37,9 +37,12 @@ test.file_fixture('changed_sources_main.cpp')
# always works on first run
test.run()
-# second run prior to fix, the file hasn't changes and so never
+# On second run prior to fix the file hasn't changed and so never
# makes it into CHANGED_SOURCES.
-# Compile is triggered because SCons knows it needs to build it
+# Compile is triggered because SCons knows it needs to build it.
+# This tests that on second run the source file is in the scons
+# output. Also prior to fix the compile would fail because
+# it would produce a compile command line lacking a source file.
test.run()
test.must_contain_all_lines(test.stdout(),['changed_sources_main.cpp'])
test.pass_test()