Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /tests/trunk/bin/doallpar.sh
ViewVC logotype

View of /tests/trunk/bin/doallpar.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2071 - (download) (as text) (annotate)
Tue Oct 31 02:58:12 2006 UTC (12 years, 10 months ago) by blume
File size: 742 byte(s)
moved tests trunk
#! /bin/ksh

CMD=${0##*/}\>

SMLX=${SML:-"/usr/local/sml/bin/sml"}

function printUsage {
 echo -u2 "doallseq.sh"
 echo -u2 "    [-sml <executable>    default=value of \$SML or $SMLX]"
 echo -u2 "    [-help]"
}

while [[ $# -ne 0 ]]
do
  	arg=$1; shift
	case $arg in
	  -sml)
		if [[ $# -eq 0 ]]
		then
			echo -u2 $CMD must name executable with -sml option
			exit 1
		fi
		SMLX=$1; shift
		;;
	  -help)
		 printUsage 
		 exit 0
	        ;;
	  *)
	        echo -u2 ${CMD} bad option $arg
	        printUsage
		exit 1
       esac
done

bin/dotest.sh coresml -diff -sml $SMLX &
bin/dotest.sh typing  -diff -sml $SMLX & 
bin/dotest.sh modules -diff -sml $SMLX &
bin/dotest.sh basis   -diff -sml $SMLX &
bin/dotest.sh bugs    -diff -sml $SMLX &

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0