camlboot/interpreter/tests/checktests.sh
2020-11-30 16:31:12 +01:00

19 lines
216 B
Bash

function test() {
echo "Checking $1"
cd $1
ocamlc $(cat files) -o check.byte
./check.byte
rm *.cm* check.byte
echo "done with $1."
}
if [ ! -z $1 ]
then
test $1
else
for f in */
do
test $f
done
fi