summaryrefslogtreecommitdiff
path: root/testing/framework/TestCmd.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-02-27 07:08:32 -0700
committerMats Wichmann <mats@linux.com>2020-02-27 07:08:32 -0700
commitec9f68cb44bfe788c509d1de52c3f674a0fe4655 (patch)
tree800588e556621d3bed62f69e8fae20795fe5abf4 /testing/framework/TestCmd.py
parent304245ce439fe49e788d7d2dab8690f4f67a56fd (diff)
downloadscons-git-ec9f68cb44bfe788c509d1de52c3f674a0fe4655.tar.gz
[PR #3571] fix error and improve docs
sider spotted a cut-n-paste error introduced in the PR (srcdir set instead of srcfile) framework doc now uses directory consistently (over folder, which is a desktop concept rather than a filesystem concept) tweaked wording a bit more Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'testing/framework/TestCmd.py')
-rw-r--r--testing/framework/TestCmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/framework/TestCmd.py b/testing/framework/TestCmd.py
index 9b5df8eb6..01d12cbc8 100644
--- a/testing/framework/TestCmd.py
+++ b/testing/framework/TestCmd.py
@@ -1409,7 +1409,7 @@ class TestCmd(object):
of dstfile are created automatically if needed.
"""
if is_List(srcfile):
- srcdir = os.path.join(*srcfile)
+ srcfile = os.path.join(*srcfile)
srcpath, srctail = os.path.split(srcfile)
spath = srcfile