#!/bin/tcsh -f # set verbose cd /class/csse/csse220/csse220-200810 set username = `whoami` if ($2 != "") then set username=$2 endif cd scripts if ($1 == Colorize) then ./check-turnin.sh Colorize $username $3 #$3 used for mail argument (see scripts/check-turnin.sh) else if ($1 == Hardy) then ./check-turnin.sh Hardy $username else if ($1 == ConnectN) then ./check-turnin.sh ConnectN $username #if ($1 == Cal) then # ./check-turnin-addiator.sh Cal $username #else if ($1 == Matrix) then # ./check-Matrix-addiator $username #else if ($1 == exam2) then # ./check-QuickSort $username #else if ($1 == Colorize) then # ./check-turnin.sh Colorize $username #else if ($1 == Pascal) then # ./check-Pascal $username #else if ($1 == Scheduler) then # ./check-turnin.sh Scheduler $username #else if ($1 == TBT) then # ./check-ThreadedBinaryTree $username else if ($1 == Markov) then cd Markov ./MarkovPerl-addiator $username cd ../.. else if ($1 == MarkovPart2) then cd Markov ./MarkovPerl2-addiator $username cd ../.. #else if ($1 == exam2) then # echo Checking exam2 # pwd # ./check-exam2-W06-07-addiator.csh $username #else if ($1 == final) then # echo Checking final # ./check-final-W06-07-addiator.csh $username #else if ($1 == SlidingBlocks) then # echo Checking SlidingBlocks # ./check-SlidingBlocks-addiator.csh $username #else if ($1 == SlidingBlocks1) then # echo Checking SlidingBlocks # ./check-SlidingBlocks1-addiator.csh $username #else if ($1 == SlidingBlocks2) then # echo Checking SlidingBlocks # ./check-SlidingBlocks2-addiator.csh $username #else if ($1 == SlidingBlocks3) then # echo Checking SlidingBlocks # ./check-SlidingBlocks3-addiator.csh $username else echo "Usage: check Colorize " echo " or: check Hardy " echo " or: check ConnectN " echo " or: check Rational " echo " or: check Markov " echo " or: check MarkovPart2 " # echo " or: check Cal" # echo " or: check Scheduler" # echo " or: check Matrix" # echo " or: check SlidingBlocks1" # echo " or: check SlidingBlocks2" # echo " or: check SlidingBlocks3" endif cd ..