Changeset 675
- Timestamp:
- 07/20/07 01:35:40 (1 year ago)
- Files:
-
- other/dsss-testing-framework/results.sh (modified) (1 diff)
- other/dsss-testing-framework/test.sh (modified) (3 diffs)
- other/dsss-testing-framework/update.sh (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
other/dsss-testing-framework/results.sh
r441 r675 1 1 #!/bin/bash 2 PLATS="i586-pc-linux-gnu i586-pc-linux-gnu-dmd powerpc-860-linux-gnu i686-mingw32"2 PLATS="i586-pc-linux-gnu i586-pc-linux-gnu-dmd" # powerpc-860-linux-gnu i686-mingw32" 3 3 rm -rf logs 4 4 mkdir logs 5 5 6 6 echo '<HTML><head><title>DSSS test results</title></head><body>' 7 echo 'All tests are run with Phobos. Tango-requiring tools are not yet tested.<br>' 8 echo 'Tests run on '`date --iso`'<br>' 7 9 8 10 echo '<table><tr><td></td>' other/dsss-testing-framework/test.sh
r557 r675 2 2 ORIGPATH="$PATH" 3 3 4 for 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 4 # Get the list of packages 5 PKGS="" 6 for i in `/opt/dsss-test/i586-pc-linux-gnu/bin/dsss net --source=http://svn.dsource.org/projects/dsss/sources list | sed 's/ /_/g'` 7 do 8 if [ "$i" != "Synchronizing..." -a \ 9 ! "`echo $i | grep 'dsss'`" -a \ 10 ! "`echo $i | grep 'dmd'`" -a \ 11 ! "`echo $i | grep 'gdc'`" -a \ 12 ! "`echo $i | grep 'tango'`" -a \ 13 ! "`echo $i | grep '^\+ '`" ] 14 then 15 PKGS="$PKGS $i" 16 fi 17 done 18 19 # Then download them 20 mkdir -p pkgs 21 #rm -f pkgs/* 22 cd pkgs || exit 1 23 if [ 1 = 0 ] ; then 24 for i in $PKGS 25 do 26 /opt/dsss-test/i586-pc-linux-gnu/bin/dsss net fetch $i 27 done 28 fi 29 30 # Finally, make a source list to use the local copies 31 cp -f /opt/dsss-test/i586-pc-linux-gnu/share/dsss/sources/* . 32 echo > source.list 33 for i in $PKGS 34 do 35 echo $i' tgz file://'`pwd`'/'$i'.tar.gz' >> source.list 36 done 37 38 cd .. || exit 1 39 40 SOURCE='file://'`pwd`'/pkgs' 41 42 # For each configuration ... 43 for 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 5 44 do 6 45 export PATH="$i/bin:$PATH" … … 9 48 mkdir -p $i/tests 10 49 50 # Uninstall old garbage 11 51 for j in `dsss installed` 12 52 do … … 17 57 done 18 58 19 for j in `dsss net list | sed 's/ /_/g'` 59 # For each package 60 for j in $PKGS 20 61 do 21 if [ "$j" != "Synchronizing..." -a \ 22 ! "`echo $j | grep 'dsss'`" -a \ 23 ! "`echo $j | grep 'dmd'`" -a \ 24 ! "`echo $j | grep 'gdc'`" -a \ 25 ! "`echo $j | grep 'tango'`" -a \ 26 ! "`echo $j | grep '^\+ '`" ] 27 then 28 echo $i $j 29 rm -rf /tmp/DSSS_* 30 dsss net assert --doc $j -v >& $i/tests/$j 31 fi 62 echo $i $j 63 rm -rf /tmp/DSSS_* 64 dsss net --source=$SOURCE assert --doc $j -v >& $i/tests/$j 32 65 done 33 66
