Commit fe9e474e authored by Jurriën Stutterheim's avatar Jurriën Stutterheim
Browse files

Add test.sh

parent cd113baf
#!/bin/bash
for filenm in $( ls *.sapl); do
lhs=${filenm%%.*}
bsapl="$lhs.bsapl"
out="$lhs.out"
exp="$lhs.exp"
if [ -e "$bsapl" ]
then
rm -f $bsapl
fi
if [ -e "$out" ]
then
rm -f $out
fi
`pwd`/../precompiler/precompiler.exe $filenm $bsapl
`pwd`/../interpreter/main $bsapl > $out
diff $exp $out > /dev/null || echo "$filenm different"
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment