[Scons-dev] If you have a win32 system, please try running test/Win32/scons-bat-error.py

Bill Deegan bill at baddogconsulting.com
Sat Jan 16 17:39:53 EST 2016


Greetings,

I'm trying to get this test to run, but as far as I can tell (trying on two
different systems), it should always fail.

The output is below.
If I set PRESERVE=1 and then cd into the directory and run scons.bat it
fails with:
python: can't open file
'C:\Users\William\AppData\Local\Temp\testcmd.2684.jl_1nk\Scripts\scons.py':
[Errno 2] No such file or directory

If you can run it as a sanity test?
I'm guessing this only runs on systems where SCons has been installed into
the installed python tree..


-Bill


C:\cygwin64\home\Bill\scons>python runtest.py test\Win32\scons-bat-error.py
1/1 (100.00%) c:\\Python27\\python.exe -tt test\Win32\scons-bat-error.py
STDOUT
=========================================================================

STDERR
=========================================================================

Exception trying to execute:
['C:\\cygwin64\\home\\Bill\\scons\\src\\script\\sco
ns.bat']
Traceback (most recent call last):
  File "test\Win32\scons-bat-error.py", line 80, in <module>
    test.run(program = 'scons.bat', status = 7)
  File "C:\cygwin64\home\Bill\scons\QMTest\TestSCons.py", line 390, in run
    TestCommon.run(self, *args, **kw)
  File "C:\cygwin64\home\Bill\scons\QMTest\TestCommon.py", line 706, in run
    TestCmd.run(self, **kw)
  File "C:\cygwin64\home\Bill\scons\QMTest\TestCmd.py", line 1394, in run
    stdin = stdin)
  File "C:\cygwin64\home\Bill\scons\QMTest\TestSCons.py", line 1167, in
start
    p = TestCommon.start(self, *args, **kw)
  File "C:\cygwin64\home\Bill\scons\QMTest\TestCommon.py", line 649, in
start
    raise e
WindowsError: [Error 5] Access is denied
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160116/8551390e/attachment.html>


More information about the Scons-dev mailing list