PATCH: dg-require-{fork,mkfifo} for V3 testsuite
Mark Mitchell
mark@codesourcery.com
Fri May 6 17:47:00 GMT 2005
Paolo Carlini wrote:
> Benjamin Kosnik wrote:
>
>
>>This looks great to me.
>>
>>
>
> Seconded! When this patch is in, we can discuss a bit what we want to do
> with the names locale tests: the simplest solution would be adding a
> global dg-require-namedlocale, or something like that, that tests at the
> outset all the required locales (as per the documentation: we should
> remember to check whether is up to date). Seems doable, have only to
> understand in detail how to run a test inside target-supports-dg.exp.
Right. I think that that the stuff I just added shows how to compile
something -- but running stuff is a little harder. You should be able
to use the DejaGNU remote stuff, though; something like:
set output [remote_exec target "test_locales"]
will do what you want. Then, you want to look at the output from the
program; you can't trust the exit code, in general.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
More information about the Libstdc++
mailing list