test: When a test fails, show diff only (save complete output to a file)
authorCarl Worth <cworth@cworth.org>
Thu, 22 Apr 2010 20:22:08 +0000 (13:22 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 22 Apr 2010 20:22:08 +0000 (13:22 -0700)
commit01f03cf098c01116f68354b3bb8bd3eb8bcb581b
treee47d90f42ae869c06ddff1b3b10feb81e98cf44e
parent9a3d4a0f2a193e1f45e70592ebe7dc01fdfdb7c2
test: When a test fails, show diff only (save complete output to a file)

We're starting to get test output that's fairly long, so it's much
kinder to just show a diff rather than displaying the complete
expected and actual output. To allow the user to investigate things
after the fact, we save the expected and actual output to files named
test-${test_number}.expected and test-${test_number}.output .
test/notmuch-test