Philip Hazel wrote:
> On Fri, 28 Dec 2007, Sheri wrote:
>
>
>> I believe that all of the failures in my test output (produced using the
>> pcretest program with readline support) are for tests that include the
>> utf8 option.
>>
>
> I'm afraid I haven't a clue as to what might be going on. It needs
> somebody who can do debugging at the code level on Windows to find out
> exactly what is happening. Maybe it is using readline calls when it
> should not be (i.e. when it is reading from a file)? The code uses the
> test
>
> if (isatty(fileno(f)))
>
> to determine whether the input file is a terminal or not. I don't know
> how universal isatty() is.
>
> Thanks for all the testing. Unless other issues arise, I'll give it
> another week or so for people to come back after the New Year, and then
> I'll release 7.5.
>
> Philip
>
>
Hi Philip,
I'm sending you the output privately in case it is of any assistance.
Just for grins I tried running tests in the Msys (unix-like)
environment. Hadn't tried make check or make test after creating the
makefile with cmake. It didn't used to work after using configure/make.
You did see the previous message about a problem with pcrecpp unittest,
right? Nothing to do with readline.
Sheri@XXX-XXXXXXXXXXX /c/pcre-7.5/RC2-Readline
$ make test
Running tests...
/C/cmake/bin/ctest.exe --force-new-ctest-process
Start processing tests
Test project C:/pcre-7.5/RC2-Readline
1/ 4 Testing pcre_test ***Bad command 1
2/ 4 Testing pcrecpp_test ***Failed
3/ 4 Testing pcre_scanner_test Passed
4/ 4 Testing pcre_stringpiece_test Passed
50% tests passed, 2 tests failed out of 4
The following tests FAILED:
1 - pcre_test (BAD_COMMAND)
2 - pcrecpp_test (Failed)
Errors while running CTest
make: *** [test] Error 8
Sheri@XXX-XXXXXXXXXXX /c/pcre-7.5/RC2-Readline
$ make check
make: *** No rule to make target `check'. Stop.
Sheri@XXX-XXXXXXXXXXX /c/pcre-7.5/RC2-Readline
Strangely, if I run "sh RunTest", with the Readline version, pcretest
starts prompting for input. With the non-Readline version, it runs the
tests, but fails the French locale tests.
(again this is using Msys rather than the Windows command window.
Windows command window doesn't run sh).
Regards,
Sheri