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

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 ???



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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26  6:24 stuart clark [this message]
2010-10-26  6:26 ` set_output doesnt work for ASIS Run(Reporter) for text_reporter stuart clark
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