Delete .travis.yml
[dakilang.git] / test_interpreter.sh
blob1845f0160790c7471e2ecbea36e1e7d9d1ca3333
1 #!/bin/bash
3 # rm tests/*.out
5 for i in ./tests/*.dl; do
6 output_file=${i%.dl}.out
7 test_name=${i%.dl}
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"
15 done