<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/Makefile.local, branch 0.14</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.14</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.14'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2012-08-03T00:09:45Z</updated>
<entry>
<title>build system: remove directories created by tests in "make clean"</title>
<updated>2012-08-03T00:09:45Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-08-02T12:27:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8a745d310f966194e82f12f6453f05cc877379d6'/>
<id>urn:sha1:8a745d310f966194e82f12f6453f05cc877379d6</id>
<content type='text'>
These extra directories cause problems for building on Debian
twice in a row.

In order to remove directories, we need to us "rm -rf" instead of
"rm -f". So now we should be extra careful what we add to the
variable CLEAN.
</content>
</entry>
<entry>
<title>Fix dependency generation for compat, test, and util</title>
<updated>2012-01-19T13:19:12Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-01-15T20:20:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5c12ee4b5d942b5c9efc79922d25b1cf9934aab0'/>
<id>urn:sha1:5c12ee4b5d942b5c9efc79922d25b1cf9934aab0</id>
<content type='text'>
This adds source files in compat, test, and util to SRCS so that the
top-level Makefile.local will generate dependency files for them.
</content>
</entry>
<entry>
<title>Fix build with binutils-2.22</title>
<updated>2011-12-18T01:54:21Z</updated>
<author>
<name>Thomas Jost</name>
<email>schnouki@schnouki.net</email>
</author>
<published>2011-12-15T19:41:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6dcd575d7be806dfaac5facba6fb6908a6ae076b'/>
<id>urn:sha1:6dcd575d7be806dfaac5facba6fb6908a6ae076b</id>
<content type='text'>
binutils-2.22 changes the behaviour of ld by defaulting to
--no-copy-dt-needed-entries, which means that required objects/libs are not
"indirectly" linked through intermediate objects/libs anymore. As a consequence,
when using binutils-2.22, building symbol-test fails with the following error:

    /usr/bin/ld: test/symbol-test.o: undefined reference to symbol
    'std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt;
    &gt;::~basic_string()@@GLIBCXX_3.4'

    /usr/bin/ld: note: 'std::basic_string&lt;char, std::char_traits&lt;char&gt;,
    std::allocator&lt;char&gt; &gt;::~basic_string()@@GLIBCXX_3.4' is defined in DSO
    /usr/lib/libstdc++.so.6 so try adding it to the linker command line

    /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation

An easy fix is to link using CXX instead of CC.
</content>
</entry>
<entry>
<title>test: tests for command-line-arguments.c</title>
<updated>2011-12-09T00:24:24Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-12-07T18:37:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5800a44bd5b77390d2243426f0c82de4d0495a1c'/>
<id>urn:sha1:5800a44bd5b77390d2243426f0c82de4d0495a1c</id>
<content type='text'>
This was needed because no current notmuch code exercises the
NOTMUCH_OPT_STRING style arguments.
</content>
</entry>
<entry>
<title>test: add test-binaries target</title>
<updated>2011-12-06T13:37:44Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-12-03T22:05:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7bf1f6e85a1af283c62fcf5f305b762e20706a42'/>
<id>urn:sha1:7bf1f6e85a1af283c62fcf5f305b762e20706a42</id>
<content type='text'>
The goal here is to have a simple way of making sure all of the
binaries needed to run tests are available.
</content>
</entry>
<entry>
<title>Build symbol-test with make instead of hardcoding in symbol-hiding.</title>
<updated>2011-11-27T16:03:04Z</updated>
<author>
<name>Amadeusz Żołnowski</name>
<email>aidecoe@aidecoe.name</email>
</author>
<published>2011-11-26T21:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=945196d79b56356aef945fad6f34a6a1a3a97ce1'/>
<id>urn:sha1:945196d79b56356aef945fad6f34a6a1a3a97ce1</id>
<content type='text'>
If symbol-test is built in symbol-hiding with hardcoded g++ invokation,
it's not so easy to pass $(srcdir) which is required to find notmuch.h
when srcdir and builddir are separate directories.
</content>
</entry>
<entry>
<title>build system: clean up object files in ./test and ./util</title>
<updated>2011-11-26T17:55:07Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-11-26T17:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9756b9dcb93c1babf5083cd91ad242b148c426a3'/>
<id>urn:sha1:9756b9dcb93c1babf5083cd91ad242b148c426a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: Link to compat files when building program during "make test"</title>
<updated>2011-05-18T20:15:46Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2011-05-18T20:15:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=22443de7891ca54cc199c30bdaf2725395062462'/>
<id>urn:sha1:22443de7891ca54cc199c30bdaf2725395062462</id>
<content type='text'>
The compilation of the smtp-dummy program would fail if a build was
attempted on a system without getline. Fix this by simply including
the existing notmuch_compat_srcs variable when constructing the list
of source files for compiling smtp-dummy.
</content>
</entry>
<entry>
<title>Makefile: Support "make check" as alias for "make test"</title>
<updated>2010-11-06T00:51:18Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-06T00:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1fe7483d8d03fd981fd09e5770efbea5b9304da9'/>
<id>urn:sha1:1fe7483d8d03fd981fd09e5770efbea5b9304da9</id>
<content type='text'>
I'm told that some people have been trained by autotools to expect
this target name.
</content>
</entry>
<entry>
<title>test: Add test that emacs interface actually sends mail.</title>
<updated>2010-10-27T17:42:46Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-27T17:42:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=102c57c825d22c8f4741332f1e02e08f66f6cd2f'/>
<id>urn:sha1:102c57c825d22c8f4741332f1e02e08f66f6cd2f</id>
<content type='text'>
Rather than *reall* sending mail here, we instead have a new test
program, smtp-dummy which implements (a small piece of) the
server-side SMTP protocol and saves a mail message to the filename
provided. This gives us reasonable test coverage of a large chunk of
the notmuch+emacs code base (down to talking to an SMTP server with
the final mail contents).
</content>
</entry>
</feed>
