Hi,

zooko <[EMAIL PROTECTED]> writes:
> I suggest that someone other than me rewrite all tests in Haskell and  
> we banish shell scripting from darcs development.
you are opening a can of worms. : - ( But I guess it had to be done..

> Hm.  I was intending to be joking when I wrote that, but now that  
> I've written it I have to point out that "find.exe" does something  
> completely different on Windows (it is sort of like grep) and  
> "yes.exe" doesn't exist.  I guess this means that Cygwin or a similar  
> unix toolset is required to run the tests on Windows, even if in the  
> happy near future it is no longer required to build?

> Personally I don't see a lot of value in being able to build without  
> cygwin when you can't run the tests without cygwin.  What use is that?
Well, the use is, that everyone can write shell scripts. Well, nearly. So we
have an extremely easy way for people to contribute functional tests. Asking
people to learn a new piece of syntax just to write a testcase is, IMHO, quite
a bit. The question is, whether the possible advantages of haskell-based
testsuite would outweigh these drawbacks.

Advantage namely is that haskell is our "native" language, and that tests
written this way would likely be more portable. The downside is that we prolly
need to write an utility set to make it reasonably easy to express everything
we currently use in the suite.

So, what others think? We have just recently standardised on a single way to
write functional tests (namely bash). The cost of another switch might be just
too high.

Personally, I don't feel strongly either way -- I'm even willing to contribute
to a toolkit for writing such tests (I have sort of added part of the required
functionality to darcs-benchmark, where I have put a haskell-based benchmarking
script.)

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

Reply via email to