Reduce floating point test duration

The length of time it took for the microkernel's test_fp_sharing test to run
was occasionally causing issues with sanity_chk.  The test would take close
to five minutes to finish and sanity_chk has a five minute timeout for the
tests.  To resolve this, the number of iterations for which the test executes
has been cut in half (from 1000 to 500).

Change-Id: I171b96f6af81a8b08d0367beecab536f16d1ca7e
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-05-27 12:21:41 -04:00 committed by Anas Nashif
commit e948817ee5
3 changed files with 1 additions and 16 deletions

View file

@ -37,15 +37,5 @@ Pi calculation OK after 350 (high) + 5 (low) tests (computed 3.141594)
Load and store OK after 400 (high) + 83352 (low) tests
Pi calculation OK after 450 (high) + 7 (low) tests (computed 3.141594)
Load and store OK after 500 (high) + 92290 (low) tests
Pi calculation OK after 550 (high) + 9 (low) tests (computed 3.141594)
Load and store OK after 600 (high) + 123288 (low) tests
Pi calculation OK after 650 (high) + 11 (low) tests (computed 3.141594)
Load and store OK after 700 (high) + 153272 (low) tests
Pi calculation OK after 750 (high) + 14 (low) tests (computed 3.141594)
Load and store OK after 800 (high) + 175104 (low) tests
Pi calculation OK after 850 (high) + 16 (low) tests (computed 3.141594)
Load and store OK after 900 (high) + 193801 (low) tests
Pi calculation OK after 950 (high) + 17 (low) tests (computed 3.141594)
Load and store OK after 1000 (high) + 215252 (low) tests
===================================================================
VXMICRO PROJECT EXECUTION SUCCESSFUL

View file

@ -95,7 +95,7 @@ x87 FPU registers are being saved/restored.
#ifndef MAX_TESTS
/* test duration, unless overridden by project builder (0 => run forever) */
#define MAX_TESTS 1000
#define MAX_TESTS 500
#endif
/* macro used to read system clock value */

View file

@ -28,10 +28,5 @@ Load and store OK after 200 (high) + 164234 (low) tests
Load and store OK after 300 (high) + 245956 (low) tests
Load and store OK after 400 (high) + 330408 (low) tests
Load and store OK after 500 (high) + 411981 (low) tests
Load and store OK after 600 (high) + 495450 (low) tests
Load and store OK after 700 (high) + 579436 (low) tests
Load and store OK after 800 (high) + 663078 (low) tests
Load and store OK after 900 (high) + 746627 (low) tests
Load and store OK after 1000 (high) + 826008 (low) tests
===================================================================
VXMICRO PROJECT EXECUTION SUCCESSFUL