Changeset 441

Show
Ignore:
Timestamp:
04/02/07 16:02:33 (1 year ago)
Author:
Gregor
Message:

test.sh, results.sh, run.sh: Now a working DSSS testing framework.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • other/dsss-testing-framework/results.sh

    r420 r441  
    11#!/bin/bash 
    2 PLATS="i586-pc-linux-gnu powerpc-860-linux-gnu" 
     2PLATS="i586-pc-linux-gnu i586-pc-linux-gnu-dmd powerpc-860-linux-gnu i686-mingw32" 
     3rm -rf logs 
     4mkdir logs 
    35 
    46echo '<HTML><head><title>DSSS test results</title></head><body>' 
     
    1315for i in `ls /opt/dsss-test/i586-pc-linux-gnu/tests | grep -v LIST` 
    1416do 
     17    mkdir -p logs/$i 
     18 
    1519    echo '<tr><th>'$i'</th>' 
    1620    for j in $PLATS 
    1721    do 
     22        cp -f /opt/dsss-test/$j/tests/$i logs/$i/$j.txt 
     23 
    1824        echo -n '<td bgcolor='\' 
    1925        if [ "`grep $i /opt/dsss-test/$j/tests/LIST`" ] 
     
    2127            echo -n 'green'\''>SUCCESS' 
    2228        else 
    23             echo -n 'red'\''>FAILURE
     29            echo -n 'red'\''><a href='\''logs/'$i'/'$j'.txt'\''>FAILURE</a>
    2430        fi 
    2531        echo '</td>' 
  • other/dsss-testing-framework/test.sh

    r420 r441  
    22ORIGPATH="$PATH" 
    33 
    4 for i in /opt/dsss-test/i586-pc-linux-gnu /opt/dsss-test/powerpc-860-linux-gnu 
     4for i in /opt/dsss-test/i586-pc-linux-gnu /opt/dsss-test/i586-pc-linux-gnu-dmd /opt/dsss-test/powerpc-860-linux-gnu /opt/dsss-test/i686-mingw32 
    55do 
    66    export PATH="$i/bin:$PATH" 
     
    2525             ! "`echo $j | grep '^\+ '`" ] 
    2626        then 
     27            echo $i $j 
    2728            rm -rf /tmp/DSSS_* 
    28             dsss net assert $j >& $i/tests/$j 
     29            dsss net assert $j -v >& $i/tests/$j 
    2930        fi 
    3031    done