comp.lang.ada
 help / color / mirror / Atom feed
From: stuart clark <clark.stuart.au@gmail.com>
Subject: Re: set_output doesnt work for ASIS Run(Reporter) for text_reporter
Date: Mon, 25 Oct 2010 23:26:52 -0700 (PDT)
Date: 2010-10-25T23:26:52-07:00	[thread overview]
Message-ID: <e70d1036-a99e-430a-b91a-b1960df63506@c20g2000yqj.googlegroups.com> (raw)
In-Reply-To: 443608a0-b0f7-4973-b089-78047b130295@j18g2000yqd.googlegroups.com

On Oct 26, 4:24 pm, stuart clark <clark.stuart...@gmail.com> 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  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 ???

why does AUnit.Reporter.Text with GNAT.IO instead of Ada.Text_IO
anyway ???



  reply	other threads:[~2010-10-26  6:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26  6:24 set_output doesnt work for ASIS Run(Reporter) for text_reporter stuart clark
2010-10-26  6:26 ` stuart clark [this message]
2010-10-26  8:12 ` Yannick Duchêne (Hibou57)
2010-10-26  9:49   ` stuart clark
2010-10-26 12:30     ` Georg Bauhaus
2010-10-27 21:03     ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox