From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,b81ef65f6fb639aa X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news4.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: set_output doesnt work for ASIS Run(Reporter) for text_reporter Date: Tue, 26 Oct 2010 10:12:15 +0200 Organization: Ada @ Home Message-ID: References: <443608a0-b0f7-4973-b089-78047b130295@j18g2000yqd.googlegroups.com> NNTP-Posting-Host: hjR5igqaLk4UmV7iTPzekg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news1.google.com comp.lang.ada:14784 Date: 2010-10-26T10:12:15+02:00 List-Id: Le Tue, 26 Oct 2010 08:24:41 +0200, stuart clark = a =C3=A9crit: > if i use ada.text_io.set_output(my_out_file) and then call > run(reporter) the report is still output to standard out, however if i= > do a ada.text_io.put_line("blah blah) then that goes to the > my_out_file. > > the reporter is a aunit.reporter.text.text_reporter. > > the aunit.reporter.text traces to gnat_io.put_line(string) not > ada.text_io. > > so i guess thats why set_ouput isnt working ??? > > anyone know how to get the reporter to write to a specific file rather= > than standard out ??? Take care of your title=E2=80=A6 ASIS is deeply different thing than AUn= it ;) (I = was deeply confused by your title and the content of your message). For your concern, I suppose you've done an unexpected assumption which i= s = not stated anywhere. I just had a look at http://libre.adacore.com/wp-content/files/auto_update/aunit-docs/aunit.h= tml And it just talks about standard output, and nothing there sates this is= = directed to use the same output as the one of Ada.Text_IO. (apologize if this does not really help) -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens.