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

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CEu6Qb__6W6F=5F5hp9nMfRjdD_iEbTopf8aDObqQB4Lg@mail.gmail.com>
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

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.