Library.nsi example requires %WINDIR% environment variable
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4227 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9e7fbac72c
commit
1aaa2da092
1 changed files with 4 additions and 2 deletions
|
@ -467,6 +467,8 @@ defenv.Ignore('$BUILD_PREFIX', '$BUILD_PREFIX/tests')
|
|||
|
||||
# test scripts
|
||||
|
||||
test_env = defenv.Copy(ENV = os.environ) # env needed for some scripts
|
||||
|
||||
def test_scripts(target, source, env):
|
||||
from os import walk, sep
|
||||
|
||||
|
@ -484,8 +486,8 @@ def test_scripts(target, source, env):
|
|||
|
||||
return None
|
||||
|
||||
test = defenv.Command('test-scripts.log', '$TESTDISTDIR', test_scripts)
|
||||
defenv.Alias('test-scripts', test)
|
||||
test = test_env.Command('test-scripts.log', '$TESTDISTDIR', test_scripts)
|
||||
test_env.Alias('test-scripts', test)
|
||||
|
||||
# test all
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue