5 for i
in .
/tests
/*.dl
; do
6 output_file
=${i%.dl}.out
8 test_name
=${test_name#./tests/}
9 echo "Test ${test_name}"
11 # To create all .out files
12 # ./dakilang --disable-colors -c $i > $output_file
14 diff -y --suppress-common-lines <(.
/dakilang
--disable-colors -c $i) $output_file ||
echo "Test FAILED"