[ 
http://issues.apache.org/jira/browse/STDCXX-261?page=comments#action_12425542 ] 
            
Martin Sebor commented on STDCXX-261:
-------------------------------------

It would be nice if the runall aka exec utility could somehow figure out from 
the executable itself what kind of output to expect and adjust automatically. 
This would let it distinguish not only the tests designed to produce different 
output but also examples from tests, and it might open a whole bunch of other 
possibilities as well. One approach might be to embed some sort of a special 
string (e.g., in the form of an RCS comment) in the executable itself and 
having the utility read it (see 
http://www.delorie.com/gnu/docs/rcs/ident.1.html).

> runall should parse tests and examples in the same manner
> ---------------------------------------------------------
>
>                 Key: STDCXX-261
>                 URL: http://issues.apache.org/jira/browse/STDCXX-261
>             Project: C++ Standard Library
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Andrew Black
>            Priority: Minor
>
> At this time, several of the self tests (0.cmdopts.out, 0.printf.out, 
> 0.strncmp.out, 0.valcmp.out) produce output that lacks a summary section.
> The runall.sh (or runall.c) utility should be able to compare the output of 
> these tests against a reference file in the same manner that the output is 
> compared for examples.
> An extension of this concept is that it might make sense to unify the logic 
> used to check the test and example results, so that the same process would be 
> used for both tests and examples.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to