provide clean access to elements of dg-do-what

View: New views
1 Messages — Rating Filter:   Alert me  

provide clean access to elements of dg-do-what

by Janis Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The GCC testsuite has local support for restricting tests to particular
targets or for marking a test as XFAIL.  In order to do this the local
support uses upvar to access and modify dg-do-what, a local variable in
the DejaGnu procedure dg-test.  This is always done one call away from
dg-test so it's not as messy as accessing the test name, but it's still
pretty ugly.

Please provide a clean way for a tool to skip or xfail a test, such as
procedures within DejaGnu to modify elements 1 or 2 of dg-do-what, and
to report the current values of those elements.

Janis Johnson




_______________________________________________
DejaGnu mailing list
DejaGnu@...
http://lists.gnu.org/mailman/listinfo/dejagnu