summaryrefslogtreecommitdiffstats
path: root/test/Repository
diff options
context:
space:
mode:
authorAdam Gross <grossag@vmware.com>2019-12-02 22:05:57 (GMT)
committerAdam Gross <grossag@vmware.com>2019-12-02 22:05:57 (GMT)
commit5711640410fa2b4a4dc3deb02e262021f230778b (patch)
tree36c1839a9042bc0d76555ecd76ba16f0bcdae59f /test/Repository
parent7d89e07d3de486dcc8052663a7b0a37bd486efae (diff)
downloadSCons-5711640410fa2b4a4dc3deb02e262021f230778b.zip
SCons-5711640410fa2b4a4dc3deb02e262021f230778b.tar.gz
SCons-5711640410fa2b4a4dc3deb02e262021f230778b.tar.bz2
Various improvements to the change
Diffstat (limited to 'test/Repository')
-rw-r--r--test/Repository/link-object.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Repository/link-object.py b/test/Repository/link-object.py
index 78add90..f5bf783 100644
--- a/test/Repository/link-object.py
+++ b/test/Repository/link-object.py
@@ -44,7 +44,13 @@ workpath_repository = test.workpath('repository')
repository_foo = test.workpath('repository', 'foo' + _exe)
work_foo = test.workpath('work', 'foo' + _exe)
+# Don't take implicit command dependencies because otherwise the program will
+# be unexpectedly recompiled the first time we use chdir="work". The reason is
+# that we take .obj files as implicit dependencies but when we move the current
+# directory, those .obj files are no longer around.
#
+# TODO: Should this test pass as-is without disabling implicit command
+# dependencies?
test.write(['repository', 'SConstruct'], """
Repository(r'%s')
env = Environment()