summaryrefslogtreecommitdiffstats
path: root/test/Batch
diff options
context:
space:
mode:
authorAdam Gross <grossag@vmware.com>2019-12-03 22:40:09 (GMT)
committerAdam Gross <grossag@vmware.com>2019-12-03 22:40:09 (GMT)
commitb2866a6821ba0575535e259a6a74e911c0d7c735 (patch)
tree8ddf4abb58203a862ba808ceb78870801e6bf98d /test/Batch
parent20e42843dd1266e13f7bc5c9a89b08541e98d64c (diff)
downloadSCons-b2866a6821ba0575535e259a6a74e911c0d7c735.zip
SCons-b2866a6821ba0575535e259a6a74e911c0d7c735.tar.gz
SCons-b2866a6821ba0575535e259a6a74e911c0d7c735.tar.bz2
Fix some more tests
Reverts some of the changes I made previously in my diff.
Diffstat (limited to 'test/Batch')
-rw-r--r--test/Batch/action-changed.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Batch/action-changed.py b/test/Batch/action-changed.py
index 33c026e..da5115e 100644
--- a/test/Batch/action-changed.py
+++ b/test/Batch/action-changed.py
@@ -59,8 +59,10 @@ os.chmod(test.workpath('build.py'), 0o755)
build_py_workpath = test.workpath('build.py')
+# Provide IMPLICIT_COMMAND_DEPENDENCIES=2 so we take a dependency on build.py.
+# Without that, we only scan the first entry in the action string.
test.write('SConstruct', """
-env = Environment()
+env = Environment(IMPLICIT_COMMAND_DEPENDENCIES=2)
env.PrependENVPath('PATHEXT', '.PY')
bb = Action(r'%(_python_)s "%(build_py_workpath)s" $CHANGED_TARGETS -- $CHANGED_SOURCES',
batch_key=True,