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

pull/496/head
Damien George 2014-04-15 11:14:42 +01:00
rodzic 2f930fa0cb
commit 9e2890bb00
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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