Skip to content

Commit 9e2890b

Browse files
committed
travis: On fail, cd to tests directory before diffing.
1 parent 2f930fa commit 9e2890b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ script:
1616
- make -C stmhal
1717
- cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests
1818

19-
after_failure: for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done
19+
after_failure: cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done

0 commit comments

Comments
 (0)