loa

Virtual machine for the Logic of Assumptions
git clone git://juanmeleiro.mat.br/loa
Log | Files | Refs

test.sh (278B)


      1 #!/bin/sh
      2 
      3 src=$(ls *.c | grep -v '\.test\.c')
      4 
      5 for m in symbol assoc stack tree schema gardener model
      6 do
      7 	f=$m.test.c
      8 	out=$(basename $f .c)
      9 	echo "Compiling $f..."
     10 	cc -g -fmax-errors=1 $f $src -o $out || exit 1
     11 	echo "Running $f..."
     12 	./$out || break
     13 	rm $out
     14 done
     15 echo Done.