How do I disable classes of test?
Daniel Towner
daniel.towner@picochip.com
Mon Oct 17 15:01:00 GMT 2005
Hi Dave,
Thanks for that patch. It has taken me a while to get around to using
it, but it is very useful. I've attached a version which works with the
current mainline.
Was there any particular reason why you haven't submitted it to
mainline, as I'm sure that others could benefit from it?
dan.
Dave Korn wrote:
> Yep. The attached patch shows how to extend the testsuite to add a whole
>load of useful test-enable/disable-per-feature functionality. After
>applying this patch, you could add a line reading
>
>set_board_info no_floating_point 0
>
>to your board.exp and any testfile that contains the words 'float' or
>'double' will be skipped. It's just a crude line-based substring match, so
>there will be false positives. The patch is against 3.3.3, but should be
>easily ported to newer or older versions, within reason. It could be
>reworked to allow cleverer regex searching if desired, but I didn't want to
>make it overly slow.
>
>
>
--
============================================================================
Daniel Towner
picoChip Designs Ltd, Riverside Buildings, 108, Walcot Street, BATH, BA1 5BG
daniel.towner@picochip.com
+44 (0) 7786 702589
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unsupported-testsuite-classes.diff
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20051017/d1ef0428/attachment.ksh>
More information about the Gcc
mailing list