Windows Tests

Friedrich, Anna-Christina Anna-Christina.Friedrich at draeger.com
Wed May 25 07:32:11 CDT 2011


> -----Original Message-----
> From: Nicolas Dumazet [mailto:nicdumz at gmail.com] 
> Sent: Samstag, 7. Mai 2011 08:02
> To: Friedrich, Anna-Christina
> Cc: peter.arrenbrecht at gmail.com; Martin Geisler; 
> Greg at waste.org; mercurial-devel at selenic.com; Ward
> Subject: Re: Windows Tests
> 
> 2011/5/5 Friedrich, Anna-Christina 
> <Anna-Christina.Friedrich at draeger.com>:
> > That's the hint I was looking for! Thanks a lot, Peter.
> > Another problem:
> > Commands separated by semicolon.
> > As lots of different commands may contain semicolon it was not 
> > possible for me to extract those that separate two single commands.
> > I turned those manually into two lines of batch code.
> 
> We've made changes in the past to test suites to allow 
> cross-compatibility on other systems.
> If some simple rules (no comments starting by #, no 
> [semicolon-]chained commands) can help you run tests on 
> Windows easily, I guess that we would be happy to change the 
> test syntax. It's only syntax afterall.

If there are no semicolons any more it would be easier indeed. 

> 
> I can make it happen, and add the relevant checks in check-code.
> --
> Nicolas Dumazet - NicDumZ
> 

I am not used to "check-code", what does it do?

According to all requests you like to have Windows tests that are generated 'on the fly' during run-tests execution. So that you do not have to maintain two different sets of tests (.t tests and .bat tests). 

Let's say it is possible to convert .t files into files that run on windows during run-tests execution.

What about the output? You still have to maintain two different outputs. 
The converter tool I created takes a .t test as a parameter and returns the corresponding batch file.
Honestly, I am not that familiar with the whole code. Maybe someone comes up with a good idea for a solution.

Best regards
Anna Friedrich
---
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.

Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den Absender zurück und löschen Sie die E-mail aus Ihrem System.


More information about the Mercurial-devel mailing list