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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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,ASCII Path: g2news1.google.com!postnews.google.com!c20g2000yqj.googlegroups.com!not-for-mail From: stuart clark Newsgroups: comp.lang.ada Subject: Re: set_output doesnt work for ASIS Run(Reporter) for text_reporter Date: Mon, 25 Oct 2010 23:26:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <443608a0-b0f7-4973-b089-78047b130295@j18g2000yqd.googlegroups.com> NNTP-Posting-Host: 203.48.66.138 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1288074412 21547 127.0.0.1 (26 Oct 2010 06:26:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 26 Oct 2010 06:26:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c20g2000yqj.googlegroups.com; posting-host=203.48.66.138; posting-account=MZK52AoAAABSzwZnz7ceKVzE2LKWwfyu User-Agent: G2/1.0 X-HTTP-Via: 1.0 proxy X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14780 Date: 2010-10-25T23:26:52-07:00 List-Id: On Oct 26, 4:24=A0pm, stuart clark wrote: > 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 =A0traces 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 ??? why does AUnit.Reporter.Text with GNAT.IO instead of Ada.Text_IO anyway ???