summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel <dmoody256@gmail.com>2019-01-30 04:09:30 (GMT)
committerDaniel <dmoody256@gmail.com>2019-01-30 04:09:30 (GMT)
commitdd1fe67dbfb929a96c39248c65c97070d9962766 (patch)
treeef842b1da05555c088a9acb9d8035becc2a59bf4 /src
parent25ab12588f18bdb7ce8034bff795bba99e61d700 (diff)
downloadSCons-dd1fe67dbfb929a96c39248c65c97070d9962766.zip
SCons-dd1fe67dbfb929a96c39248c65c97070d9962766.tar.gz
SCons-dd1fe67dbfb929a96c39248c65c97070d9962766.tar.bz2
update EnvironmentTest to work with new default
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/EnvironmentTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/EnvironmentTests.py b/src/engine/SCons/EnvironmentTests.py
index 7cd6015..a72c173 100644
--- a/src/engine/SCons/EnvironmentTests.py
+++ b/src/engine/SCons/EnvironmentTests.py
@@ -1623,9 +1623,9 @@ def exists(env):
env1.AppendENVPath('PATH',r'C:\dir\num\two', sep = ';')
env1.AppendENVPath('PATH',r'C:\dir\num\three', sep = ';')
env1.AppendENVPath('MYPATH',r'C:\mydir\num\three','MYENV', sep = ';')
- env1.AppendENVPath('MYPATH',r'C:\mydir\num\one','MYENV', sep = ';')
+ env1.AppendENVPath('MYPATH',r'C:\mydir\num\one','MYENV', sep = ';', delete_existing=1)
# this should do nothing since delete_existing is 0
- env1.AppendENVPath('MYPATH',r'C:\mydir\num\three','MYENV', sep = ';', delete_existing=0)
+ env1.AppendENVPath('MYPATH',r'C:\mydir\num\three','MYENV', sep = ';')
assert(env1['ENV']['PATH'] == r'C:\dir\num\one;C:\dir\num\two;C:\dir\num\three')
assert(env1['MYENV']['MYPATH'] == r'C:\mydir\num\two;C:\mydir\num\three;C:\mydir\num\one')