travis: On fail, cd to tests directory before diffing.

This commit is contained in:
Damien George 2014-04-15 11:14:42 +01:00
parent 2f930fa0cb
commit 9e2890bb00
1 changed files with 1 additions and 1 deletions

View File

@ -16,4 +16,4 @@ script:
- make -C stmhal
- cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests
after_failure: for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done
after_failure: cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done