Changeset 486

Show
Ignore:
Timestamp:
04/15/07 00:32:35 (1 year ago)
Author:
Gregor
Message:

test.sh: Fixed candydoc link generation.

Files:

Legend:

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

    r441 r486  
    22ORIGPATH="$PATH" 
    33 
     4if [ 1 = 0 ] 
     5then 
    46for 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 
    57do 
     
    2729            echo $i $j 
    2830            rm -rf /tmp/DSSS_* 
    29             dsss net assert $j -v >& $i/tests/$j 
     31       dsss net assert --doc $j -v >& $i/tests/$j 
    3032        fi 
    3133    done 
     
    3335    dsss installed >& $i/tests/LIST 
    3436done 
     37fi 
    3538 
     39# Copy in docs 
     40rm -rf docs 
     41cp -af /opt/dsss-test/i586-pc-linux-gnu/share/doc docs 
     42 
     43# And set up candydoc links 
     44cd docs 
     45cp -af dsss/sss/candydoc . 
     46for i in * 
     47do 
     48    if [ "$i" = "candydoc" ] 
     49    then 
     50    continue 
     51    fi 
     52    for j in `find $i -name candydoc` 
     53    do 
     54        rm -rf $j 
     55        ln -s `dirname $j | sed 's/[^\/]*/../g'`/candydoc $j 
     56    done 
     57done 
     58