Advertisement
BlueWall

OpenSim Test Script

Feb 27th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.60 KB | None | 0 0
  1. !/bin/bash
  2. #
  3. ## WORKSPACE="/var/lib/jenkins/jobs/opensim_core/workspace"
  4. EXCLUDES="bin/OpenSim.Region.Physics.OdePlugin.Tests.dll bin/OpenSim.Tests.Torture.dll"
  5.  
  6. cd $WORKSPACE
  7. rm -Rf TestResults
  8. rm  TestResult.xml
  9.  
  10. mkdir TestResults
  11.  
  12. for T in bin/*Tests.dll; do
  13.  
  14.     for ex in $EXCLUDES; do
  15.  
  16.       if [ $ex = $T ]; then
  17.           echo -e "*************** Skipping: $T"
  18.           break;
  19.       else
  20.           echo "Testing: $T"
  21.           export TESTNAME=`echo $T|sed s#bin/##|sed s/.dll//`
  22.           (nunit-console4 $T -xml=TestResults/$TESTNAME.xml -noshadow -nodots)
  23.       fi
  24.     done
  25. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement