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

anatoly techtonik <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAPkN8xLuYG21GZRW1RkdiFM=t_v6VjZfJUuWfjEc4vLR0zCJjQ@mail.gmail.com>
Runs ok. SCons is not installed into Python 2.7

C:\__py\__\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
PASSED
Preserved directory C:\users\user\appdata\local\temp2\testcmd.3380.qnosrl
Preserved directory C:\users\user\appdata\local\temp2\testcmd.3380.qnosrl



On Sun, Jan 17, 2016 at 1:39 AM, Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> wrote:
> 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
>



-- 
anatoly t.
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.