accept errors for 'geant' command in geant
Andreas Leitner <[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <1158134770.3674.19.camel@localhost> |
Hi there,
I know that it is possible in geant to specify that an 'exec' command
should ignore the return value of the executed process. I was wondering
if the same is available for the 'geant' command itself. I could not
find it, though.
For example the Gobo test suite is built in a way so that an outer geant
file ($GOBO/test/build.eant) drives many inner ones (argument, lexical,
kernel, ...). This is done using the 'do_all'-pattern, which looks like
this (I simplified it for brevity):
<target name="do_all" depend="init">
<argument name="target"/>
<geant file="build.eant" target="${target}" dir="argument"/>
<geant file="build.eant" target="${target}" dir="lexical"/>
<geant file="build.eant" target="${target}" dir="kernel"/>
...
...
...
</target>
Suppose a bug is uncovered in the 'argument' sub-suite. In this case the
test case execution will not execute any test cases from the 'lexical',
'kernel' or any subsequent suite. It is sometimes good to know how much
breakage one has done overall, while refactoring something, for example.
Or there might be test cases that are known to break and are scheduled
to be fixed only later. One still would want to see the outcome of the
rest of the suite in this case.
I suggest we introduce a flag similar to 'accept_errors' for 'geant'
commands. What do you think?
Andreas
To Post a message, send it to: [email protected]
To Unsubscribe, send a blank message to: [email protected]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/gobo-eiffel/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/gobo-eiffel/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/