[PATCH] tests: Reduce retry count to two
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Sep 8 13:19:25 UTC 2014
This avoids test durations of more than one hour on fast targets.
---
testsuites/psxtests/psxintrcritical01/init.c | 2 +-
testsuites/sptests/spintrcritical13/init.c | 2 +-
testsuites/sptests/spintrcritical15/init.c | 2 +-
testsuites/sptests/spintrcritical16/init.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/testsuites/psxtests/psxintrcritical01/init.c b/testsuites/psxtests/psxintrcritical01/init.c
index 2c46209..e169e00 100644
--- a/testsuites/psxtests/psxintrcritical01/init.c
+++ b/testsuites/psxtests/psxintrcritical01/init.c
@@ -69,7 +69,7 @@ rtems_task Init(
interrupt_critical_section_test_support_initialize( test_release_from_isr );
- for (resets=0 ; resets<10 ;) {
+ for (resets=0 ; resets<2 ;) {
if ( interrupt_critical_section_test_support_delay() )
resets++;
diff --git a/testsuites/sptests/spintrcritical13/init.c b/testsuites/sptests/spintrcritical13/init.c
index 5a43dab..0f7e2c7 100644
--- a/testsuites/sptests/spintrcritical13/init.c
+++ b/testsuites/sptests/spintrcritical13/init.c
@@ -85,7 +85,7 @@ rtems_task Init(
interrupt_critical_section_test_support_initialize( test_release_from_isr );
- for (resets=0 ; resets<10 ;) {
+ for (resets=0 ; resets<2 ;) {
if ( interrupt_critical_section_test_support_delay() )
resets++;
diff --git a/testsuites/sptests/spintrcritical15/init.c b/testsuites/sptests/spintrcritical15/init.c
index ec84165..aa7291d 100644
--- a/testsuites/sptests/spintrcritical15/init.c
+++ b/testsuites/sptests/spintrcritical15/init.c
@@ -81,7 +81,7 @@ rtems_task Init(
interrupt_critical_section_test_support_initialize( NULL );
- for (resets=0 ; resets<10 ;) {
+ for (resets=0 ; resets<2 ;) {
if ( interrupt_critical_section_test_support_delay() )
resets++;
diff --git a/testsuites/sptests/spintrcritical16/init.c b/testsuites/sptests/spintrcritical16/init.c
index f185800..012cfb6 100644
--- a/testsuites/sptests/spintrcritical16/init.c
+++ b/testsuites/sptests/spintrcritical16/init.c
@@ -89,7 +89,7 @@ rtems_task Init(
case_hit = false;
- for (resets=0 ; !case_hit && resets<10 ;) {
+ for (resets=0 ; !case_hit && resets<2 ;) {
if ( interrupt_critical_section_test_support_delay() )
resets++;
--
1.8.4.5
More information about the devel
mailing list