diff mbox

[testsuite] Require int32 target support in sso tests

Message ID BCE5D8DA-EBB0-49B6-B120-8A9DDD52338F@comcast.net
State New
Headers show

Commit Message

Mike Stump Feb. 22, 2016, 8:49 p.m. UTC
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:

and let us know if it works for you.  I think this should address Eric’s concerns and yours.

Comments

Senthil Kumar Selvaraj Feb. 23, 2016, 7:52 a.m. UTC | #1
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
Mike Stump Feb. 23, 2016, 10 a.m. UTC | #2
On Feb 22, 2016, at 11:52 PM, Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> wrote:
> 
> Yes that works

Ok.

Committed revision 233621.

Scream if anything goes wrong.  Thanks for testing.
diff mbox

Patch

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]] "" “”