Hi, Eric Kow <[EMAIL PROTECTED]> writes: > I think the first two are problems with the test suite. Darcs is a > native Windows program and does not use the Cygwin library. Therefore, > it does not understand the absolute paths that Cygwin tries to feed it, > i.e. those that start with /cygdrive/c There is this cygpath program > that converts paths like that into Windows ones. Maybe we could work > out a way for the test scripts to use it. ah, I didn't know this was the case. One of the issues is that the tests require POSIX shell to run, which is a nuisance on Windows: and Cygwin seems to be the easiest way for people to get it work. Which apparently also means weird absolute paths from pwd. Changing the few (there are exactly two) "pwd" uses in the testsuite to use a wrapper that runs cygpath on cygwin could fix that. However, I still don't have working Windows+GHC around, so someone else would need to do that... Is there *anyone* besides Zooko with the ability to run the testsuite on Windows?
> In the above two cases, I don't think I see how System.FilePath would > have helped. That said, maybe Neil would be interested in something > like System.FilePath.Cygwin, a sort of weird fusion of the two > pre-existing modules with the /cygdrive/c stuff on top. Or maybe we > would work out some means for darcs to optionally become a Cygwin > program [Note that this would also involve stretching out our manpower > a bit]. Now if System.FilePath would manage to handle both windows-native and cygwin-ish paths on Windows, that would probably make using darcs a little more convenient. Although we might decide that we just don't want to support cygwin at all (but, we need an alternative to run the testsutie... is MSYS capable of that? It seems to be quite hard to install though, and generally unfriendly. And I guess noone's very keen on implementing (a subset of) posix shell in Haskell, or rewriting the testsuite in Haskell...) Yours, Petr. -- Peter Rockai | me()mornfall!net | prockai()redhat!com http://blog.mornfall.net | http://web.mornfall.net "In My Egotistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." -- Blair P. Houghton on the subject of C program indentation _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
