[Patch, testsuite] Require int32 target support in sso tests

Senthil Kumar Selvaraj senthil_kumar.selvaraj@atmel.com
Tue Feb 23 07:53:00 GMT 2016


Mike Stump writes:

> On Feb 22, 2016, at 12:41 AM, Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> wrote:
>> Could someone commit it for me please? I don't have commit access.
>
> Could you test out:
>
> Index: sso.exp
> ===================================================================
> --- sso.exp	(revision 233611)
> +++ sso.exp	(working copy)
> @@ -32,6 +32,10 @@ set SSO_TORTURE_OPTIONS [list \
>  
>  set-torture-options $SSO_TORTURE_OPTIONS
>  
> +if { ![check_effective_target_int32] } {
> +    return
> +}
> +
>  # Main loop.
>  gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] "" “”
>
> and let us know if it works for you.  I think this should address Eric’s concerns and yours.


Yes that works - just that it also skips a few testcases that don't
depend on integers being 32 bits (see ). Doesn't matter much for AVR until we
get I/O working on the simulator though.

Regards
Senthil



More information about the Gcc-patches mailing list