This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: dg-require-{fork,mkfifo} for V3 testsuite


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]