summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-15 11:14:42 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-15 11:14:42 +0100
commit9e2890bb0038bf555aa70b549818626594bb29ae (patch)
tree9371cba6f905a802fc54bf162e129b52cce4b17f
parent2f930fa0cb442cc7d93c3dc0ed1f58a808d69044 (diff)
downloadmicropython-9e2890bb0038bf555aa70b549818626594bb29ae.tar.gz
micropython-9e2890bb0038bf555aa70b549818626594bb29ae.zip
travis: On fail, cd to tests directory before diffing.
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 720b65b0f9..4c2a577ac6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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