<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/python, branch 0.11.1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.11.1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.11.1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-12-11T14:40:14Z</updated>
<entry>
<title>test: add a function to run Python tests</title>
<updated>2011-12-11T14:40:14Z</updated>
<author>
<name>Thomas Jost</name>
<email>schnouki@schnouki.net</email>
</author>
<published>2011-12-07T09:46:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2621f6cef19acc99745c389f5e324fea55f655d8'/>
<id>urn:sha1:2621f6cef19acc99745c389f5e324fea55f655d8</id>
<content type='text'>
The new test_python() function makes writing Python tests a little easier:
- it sets the environment variables as needed
- it redirects stdout to the OUTPUT file (like test_emacs()).

This commit also declares python as an external prereq.

The stdout redirection is required to avoid trouble when running commands like
"python 'script' | sort &gt; OUTPUT": in such a case, any error due to a missing
external prereq would be "swallowed" by sort, resulting to a failed test instead
of a skipped one.
</content>
</entry>
<entry>
<title>test/python: set LD_LIBRARY_PATH and PYTHONPATH to use local notmuch</title>
<updated>2011-12-06T03:06:50Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-12-06T03:06:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=07bb8b9e895541006eca88430925f1c6524c4708'/>
<id>urn:sha1:07bb8b9e895541006eca88430925f1c6524c4708</id>
<content type='text'>
Possibly this should be factored out into some kind of "run_python"
function.
</content>
</entry>
<entry>
<title>test: add tests for python bindings</title>
<updated>2011-12-05T22:06:48Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-12-05T01:50:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6cca3a5c16dac539db135920bc9ef9c5d237a1d5'/>
<id>urn:sha1:6cca3a5c16dac539db135920bc9ef9c5d237a1d5</id>
<content type='text'>
We start modestly, with a (slightly modified) test case from Kazuo
Teramoto. Originally it just made sure the bindings didn't crash; here
we check that by comparing the output with that of notmuch search.
</content>
</entry>
</feed>
