Ignore:
Timestamp:
Mar 14, 2013, 2:41:13 PM (11 years ago)
Author:
joannou
Message:

updated the test_interrupt_delayslot : now testing for several delay values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tests_ccvcache_v4/test_interrupt_delayslot/run

    r232 r324  
    1818}
    1919
    20 make --quiet || exit 1
    21 ${SIMUL} > run.out 2>&1
    22 if [ $? -eq 0 ]; then
    23         if check_output; then
    24                 echo "test passsed";
    25                 make --quiet clean
    26                 exit 0;
     20
     21for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70; do
     22        make clean --quiet
     23        make INTERRUPT_DELAY=$i --quiet || exit 1
     24    ${SIMUL} > run.out 2>&1
     25        if [ $? -eq 0 ]; then
     26                if check_output; then
     27                        echo "test $i passed";
     28                        make --quiet clean
     29                    exit 0;
     30                fi
     31        else
     32                echo "test FAILED"
     33                exit 1
    2734        fi
    28         echo "test FAILED"
    29         exit 1
    30 fi
     35done
    3136echo "test FAILED"
    32 exit 1
    33 
Note: See TracChangeset for help on using the changeset viewer.