head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	96.12.02.18.02.37;	author nathanw;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Add test programs, input files, output files, and tools for regression-testing.
@
text
@#!/bin/sh
#COMPILER=../../../src/compiler
COMPILER=/var/tmp/6.035/src/compiler
COMPILEROPTS=

for f in *.ma; 
do
  base=`echo $f | sed 's/\..*//'`
  echo $base
  $COMPILER $COMPILEROPTS $f
  if [ -f ${base}.in ]; 
  then
    spim -file ${base}.lst < ${base}.in > ${base}.out 
  else
    spim -file ${base}.lst > ${base}.out 
  fi
done
@
