cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems running cons-test under Win2k


From: Alex Jacques
Subject: Problems running cons-test under Win2k
Date: Mon, 27 Nov 2000 15:05:38 -0500

I am attempting to run the cons test suite under Windows 2000.
The TODO file in cons-test-2.2.0 mentions that t0054.t does not run
properly under Windows, which of course implies that other tests do run
ok. However when I try to run cons-test as follows:

cd \cons-2.2.0\test
perl cons-test -x ..\cons "PATH=c:\Program Files\Microsoft Visual
Studio\VC98\bin;c:\Perl" CC=cl t\t0001.t

I get the following error messages:

Could not invoke |C:\Perl\bin\perl.exe  -I. -IC:/cons-2.2.0/test
C:\cons-2.2.0\test\..\cons . 1>C:\tmp\~testcmd984-1\stdout.1
2>C:\tmp\~testcmd984-1\stderr.1: Bad file descriptor
could not read file contents: No such file or directory
NO RESULT for test of cons [single-module Program]
        at line 541 of Test/Cmd/Cons.pm (Test::Cmd::Cons::read)
        from line 914 of Test/Cmd.pm.

It appears that part of the problem may be the use of the shell syntaxes
"1>" and "2>" (in Cmd.pm), so I tried to use the Cygwin port of the bash
shell by setting the Windows environment as follows:

PERL5SHELL=c:\cygwin\bin\bash.exe

However this changed nothing.

Any help is appreciated.

My setup is as follows:
cons-2.2.0 and cons-test-2.2.0 installed in c:\cons-2.2.0 and
c:\cons-2.2.0\test
Active State Perl V5.005_03 (APi522e.exe) - installed in c:\Perl
Windows 2000 5.00.2195 Patch Level 1
Microsoft Visual C++ V6.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]