On Tue, 03 Jun 2008 11:21:20 +0200
Walter Franzini <[EMAIL PROTECTED]> wrote:

> Lele,
> 
> now that I'm able to import into aegis the tailor repository I'd like
> to work on tailor using aegis.

Great! That's the primary goal I had when started the project! 8-)

> One of the main feature of aegis is related to tests, however aegis
> define some rules about test execution:  
> 
> ------------------------------------------------------------------------
> The command used to execute tests is defined by the test_command field
> in the project configuration file (see aepconf(5) for more
> information), this defaults to using the Bourne shell if not set.
> The current directory will be the top of the appropriate directory
> tree.
> If tests require temporary files, they should create them in /tmp, as
> a test cannot expect to have write permission in the current
> directory.
> ------------------------------------------------------------------------
> 
> Since the test_command field can be redefined, I can work around
> differences between tailor's and aegis convention about test.  
> 
> But which convention holds for tailor tests (e.g. the tailor script
> should be in the path)?

To be honest, I somewhat dislike the way the test are laid in the
tree. We have two different sets of test, one in Python under
./vcpx/tests and one in Bourne shell under ./test-scripts.

While the former can be executed with "tailor test", the latter isn't
as simple, currently.

I found myself confused lately when I ran the shell scripts, I had to
tweak them in several ways to be able to run them properly.

OTOH, shell scripts are easier to code and more to the point. 

So, I really like the idea of reviewing the way we deal with tests,
and how we *write* them; for example, having a better scheme of
include files to make it easier either running particular version of
tailor, *or* of the backend (I had the need to run the same test
against darcs 1.0 and darcs 2.0, for example).

So, plz, any suggestion is welcome!

BTW, darcs has a similar concept of "test_command", so virtually the
solution will be used there too.

thank you,
ciao, lele.
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
[EMAIL PROTECTED] |                 -- Fortunato Depero, 1929.
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to