summaryrefslogtreecommitdiffstats
path: root/test/TEMPFILEPREFIX.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-01-16 21:53:07 (GMT)
committerMats Wichmann <mats@linux.com>2019-01-16 21:55:57 (GMT)
commitcf33e092a699cb72031105a1b23ae09c962beffc (patch)
tree2be1e31822de65ef7960d6d1902bf208a0d07071 /test/TEMPFILEPREFIX.py
parent8c669448e9ef3bcd7c3c16a81beb56770ae7b445 (diff)
downloadSCons-cf33e092a699cb72031105a1b23ae09c962beffc.zip
SCons-cf33e092a699cb72031105a1b23ae09c962beffc.tar.gz
SCons-cf33e092a699cb72031105a1b23ae09c962beffc.tar.bz2
Add test for TEMPFILESUFFIX
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/TEMPFILEPREFIX.py')
-rw-r--r--test/TEMPFILEPREFIX.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/TEMPFILEPREFIX.py b/test/TEMPFILEPREFIX.py
index 7f4322b..f5093e1 100644
--- a/test/TEMPFILEPREFIX.py
+++ b/test/TEMPFILEPREFIX.py
@@ -25,8 +25,9 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
"""
-Verify that setting the $TEMPFILEPREFIX variable will append to the
-beginning of the TEMPFILE invocation of a long command line.
+Verify that setting the $TEMPFILEPREFIX variable will cause
+it to appear at the front of name of the generated tempfile
+used for long command lines.
"""
import os
@@ -97,7 +98,7 @@ class TestTempFileMunge(TempFileMunge):
def _print_cmd_str(self, target, source, env, cmdstr):
super(TestTempFileMunge, self)._print_cmd_str(target, source, None, cmdstr)
-
+
env = Environment(
TEMPFILE = TestTempFileMunge,
BUILDCOM = '${TEMPFILE("xxx.py $TARGET $SOURCES")}',